Class InnerClass
java.lang.Object
org.eolang.jeo.representation.bytecode.InnerClass
- All Implemented Interfaces:
BytecodeAttribute
Inner class attribute.
- Since:
- 0.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.jeo.representation.bytecode.BytecodeAttribute
BytecodeAttribute.EnclosingMethod, BytecodeAttribute.NestHost, BytecodeAttribute.NestMembers, BytecodeAttribute.PermittedSubclasses, BytecodeAttribute.RecordComponents, BytecodeAttribute.SourceFile -
Constructor Summary
ConstructorsConstructorDescriptionInnerClass(String name, String outer, String inner, int access) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondirectives(int index, Format format) Converts to directives.voidwrite(org.objectweb.asm.ClassVisitor clazz) Write to class.voidWrite to method.
-
Constructor Details
-
InnerClass
Constructor.- Parameters:
name- Internal name of the class.outer- The internal name of the class or interface class is a member of.inner- The simple name of the class.access- Access flags of the inner class as originally declared in the enclosing class.
-
-
Method Details
-
write
public void write(org.objectweb.asm.ClassVisitor clazz) Description copied from interface:BytecodeAttributeWrite to class.- Specified by:
writein interfaceBytecodeAttribute- Parameters:
clazz- Bytecode where to write.
-
write
Description copied from interface:BytecodeAttributeWrite to method.- Specified by:
writein interfaceBytecodeAttribute- Parameters:
method- Bytecode where to write.labels- Method labels.
-
directives
Description copied from interface:BytecodeAttributeConverts to directives.- Specified by:
directivesin interfaceBytecodeAttribute- Parameters:
index- Index of the attribute.format- Format of the directives.- Returns:
- Directives.
-