Class AsmUnknownAttribute
- java.lang.Object
-
- org.objectweb.asm.Attribute
-
- org.eolang.jeo.representation.asm.AsmUnknownAttribute
-
public final class AsmUnknownAttribute extends org.objectweb.asm.AttributeAsm unknown attribute.- Since:
- 0.15.0
-
-
Constructor Summary
Constructors Constructor Description AsmUnknownAttribute(String type)Constructs a new empty attribute.AsmUnknownAttribute(String type, byte[] data)Constructs a new unknown attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytecodeUnknownAttributebytecode()Convert to bytecode unknown attribute.booleanisUnknown()org.objectweb.asm.Attributeread(org.objectweb.asm.ClassReader reader, int offset, int length, char[] buffer, int caoffset, org.objectweb.asm.Label[] labels)org.objectweb.asm.ByteVectorwrite(org.objectweb.asm.ClassWriter writer, byte[] code, int length, int stack, int locals)
-
-
-
Constructor Detail
-
AsmUnknownAttribute
public AsmUnknownAttribute(String type)
Constructs a new empty attribute.- Parameters:
type- The type of the attribute.
-
AsmUnknownAttribute
public AsmUnknownAttribute(String type, byte[] data)
Constructs a new unknown attribute.- Parameters:
type- The type of the attribute.data- The raw data of the attribute.
-
-
Method Detail
-
bytecode
public BytecodeUnknownAttribute bytecode()
Convert to bytecode unknown attribute.- Returns:
- Bytecode unknown attribute.
-
isUnknown
public boolean isUnknown()
- Overrides:
isUnknownin classorg.objectweb.asm.Attribute
-
read
public org.objectweb.asm.Attribute read(org.objectweb.asm.ClassReader reader, int offset, int length, char[] buffer, int caoffset, org.objectweb.asm.Label[] labels)- Overrides:
readin classorg.objectweb.asm.Attribute
-
write
public org.objectweb.asm.ByteVector write(org.objectweb.asm.ClassWriter writer, byte[] code, int length, int stack, int locals)- Overrides:
writein classorg.objectweb.asm.Attribute
-
-