Class BytecodeAttribute.PermittedSubclasses

java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeAttribute.PermittedSubclasses
All Implemented Interfaces:
BytecodeAttribute
Enclosing interface:
BytecodeAttribute

public static final class BytecodeAttribute.PermittedSubclasses extends Object implements BytecodeAttribute
Permitted subclasses attribute.
Since:
0.14.0
  • Constructor Details

    • PermittedSubclasses

      public PermittedSubclasses(String... all)
      Constructor.
      Parameters:
      all - Permitted subclasses.
    • PermittedSubclasses

      public PermittedSubclasses(List<String> classes)
      Constructor.
      Parameters:
      classes - Permitted subclasses.
  • 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 Iterable<org.xembly.Directive> 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.