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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classEnclosing method attribute.static final classNest host attribute.static final classNest members attribute.static final classPermitted subclasses attribute.static final classRecord components attribute.static final classSource file attribute. -
Method Summary
-
Method Details
-
write
void write(org.objectweb.asm.ClassVisitor clazz) Write to class.- Parameters:
clazz- Bytecode where to write.
-
write
Write to method.- Parameters:
method- Bytecode where to write.labels- Method labels.
-
directives
Converts to directives.- Parameters:
index- Index of the attribute.format- Format of the directives.- Returns:
- Directives.
-