Class InnerClass
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.InnerClass
-
- All Implemented Interfaces:
BytecodeAttribute
public final class InnerClass extends Object implements BytecodeAttribute
Inner class attribute.- Since:
- 0.4
-
-
Constructor Summary
Constructors Constructor Description InnerClass(String name, String outer, String inner, int access)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectivesAttributedirectives()Converts to directives.voidwrite(org.objectweb.asm.ClassVisitor clazz)Write to class.voidwrite(org.objectweb.asm.MethodVisitor method, AsmLabels labels)Write to method.
-
-
-
Constructor Detail
-
InnerClass
public InnerClass(String name, String outer, String inner, int access)
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.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
-
Method Detail
-
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
public void write(org.objectweb.asm.MethodVisitor method, AsmLabels labels)Description copied from interface:BytecodeAttributeWrite to method.- Specified by:
writein interfaceBytecodeAttribute- Parameters:
method- Bytecode where to write.labels- Method labels.
-
directives
public DirectivesAttribute directives()
Description copied from interface:BytecodeAttributeConverts to directives.- Specified by:
directivesin interfaceBytecodeAttribute- Returns:
- Directives.
-
-