Class AsmUnknownAttribute
java.lang.Object
org.objectweb.asm.Attribute
org.eolang.jeo.representation.asm.AsmUnknownAttribute
public final class AsmUnknownAttribute
extends org.objectweb.asm.Attribute
Asm unknown attribute.
- Since:
- 0.15.0
-
Field Summary
Fields inherited from class org.objectweb.asm.Attribute
type -
Constructor Summary
ConstructorsConstructorDescriptionAsmUnknownAttribute(String type) Constructs a new empty attribute.AsmUnknownAttribute(String type, byte[] data) Constructs a new unknown attribute. -
Method Summary
Modifier and TypeMethodDescriptionbytecode()Convert to bytecode unknown attribute.booleanorg.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) Methods inherited from class org.objectweb.asm.Attribute
getLabels, isCodeAttribute, read, readLabel, write
-
Constructor Details
-
AsmUnknownAttribute
Constructs a new empty attribute.- Parameters:
type- The type of the attribute.
-
AsmUnknownAttribute
Constructs a new unknown attribute.- Parameters:
type- The type of the attribute.data- The raw data of the attribute.
-
-
Method Details
-
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
-