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 Details

    • 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.
  • Method Details

    • write

      public void write(org.objectweb.asm.ClassVisitor clazz)
      Description copied from interface: BytecodeAttribute
      Write to class.
      Specified by:
      write in interface BytecodeAttribute
      Parameters:
      clazz - Bytecode where to write.
    • write

      public void write(org.objectweb.asm.MethodVisitor method, AsmLabels labels)
      Description copied from interface: BytecodeAttribute
      Write to method.
      Specified by:
      write in interface BytecodeAttribute
      Parameters:
      method - Bytecode where to write.
      labels - Method labels.
    • directives

      public DirectivesAttribute directives(int index, Format format)
      Description copied from interface: BytecodeAttribute
      Converts to directives.
      Specified by:
      directives in interface BytecodeAttribute
      Parameters:
      index - Index of the attribute.
      format - Format of the directives.
      Returns:
      Directives.