Interface BytecodeAttribute

All Known Implementing Classes:
BytecodeAttribute.EnclosingMethod, BytecodeAttribute.NestHost, BytecodeAttribute.NestMembers, BytecodeAttribute.PermittedSubclasses, BytecodeAttribute.RecordComponents, BytecodeAttribute.SourceFile, BytecodeModule, BytecodeUnknownAttribute, InnerClass, LocalVariable

public interface BytecodeAttribute
Bytecode attribute.
Since:
0.4
  • Method Details

    • write

      void write(org.objectweb.asm.ClassVisitor clazz)
      Write to class.
      Parameters:
      clazz - Bytecode where to write.
    • write

      void write(org.objectweb.asm.MethodVisitor method, AsmLabels labels)
      Write to method.
      Parameters:
      method - Bytecode where to write.
      labels - Method labels.
    • directives

      Iterable<org.xembly.Directive> directives(int index, Format format)
      Converts to directives.
      Parameters:
      index - Index of the attribute.
      format - Format of the directives.
      Returns:
      Directives.