Class AsmUnknownAttributes
java.lang.Object
org.eolang.jeo.representation.asm.AsmUnknownAttributes
ASM custom attributes.
- Since:
- 0.15.0
-
Constructor Summary
ConstructorsConstructorDescriptionAsmUnknownAttributes(org.objectweb.asm.tree.ClassNode node) Constructor.AsmUnknownAttributes(org.objectweb.asm.tree.FieldNode node) Constructor.AsmUnknownAttributes(org.objectweb.asm.tree.MethodNode node) Constructor.AsmUnknownAttributes(org.objectweb.asm.tree.RecordComponentNode node) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbytecode()Convert to domain bytecode representation.static org.objectweb.asm.Attribute[]All prototypes of custom attributes.
-
Constructor Details
-
AsmUnknownAttributes
public AsmUnknownAttributes(org.objectweb.asm.tree.ClassNode node) Constructor.- Parameters:
node- Class node.
-
AsmUnknownAttributes
public AsmUnknownAttributes(org.objectweb.asm.tree.FieldNode node) Constructor.- Parameters:
node- Field node.
-
AsmUnknownAttributes
public AsmUnknownAttributes(org.objectweb.asm.tree.MethodNode node) Constructor.- Parameters:
node- Method node.
-
AsmUnknownAttributes
public AsmUnknownAttributes(org.objectweb.asm.tree.RecordComponentNode node) Constructor.- Parameters:
node- Record component node.
-
-
Method Details
-
prototypes
public static org.objectweb.asm.Attribute[] prototypes()All prototypes of custom attributes. Pay Attention! We don't have `ScalaInlineInfo` here because this attribute requires special handling. Actually, we should rebuild `ScalaInlineInfo` after rebuilding the constant pool. Since we can't rebuild the `ScalaInlineInfo` attribute, we simply ignore it.- Returns:
- All prototypes of custom attributes.
-
bytecode
Convert to domain bytecode representation.- Returns:
- Bytecode representation.
-