Class BytecodeAttribute.EnclosingMethod
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeAttribute.EnclosingMethod
- All Implemented Interfaces:
BytecodeAttribute
- Enclosing interface:
- BytecodeAttribute
public static final class BytecodeAttribute.EnclosingMethod
extends Object
implements BytecodeAttribute
Enclosing method attribute.
- Since:
- 0.14.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.jeo.representation.bytecode.BytecodeAttribute
BytecodeAttribute.EnclosingMethod, BytecodeAttribute.NestHost, BytecodeAttribute.NestMembers, BytecodeAttribute.PermittedSubclasses, BytecodeAttribute.RecordComponents, BytecodeAttribute.SourceFile -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EnclosingMethod
Constructor.- Parameters:
owner- Owner class of the enclosing method.name- Method name of the enclosing method.descriptor- Method descriptor of the enclosing method.
-
-
Method Details
-
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
Description copied from interface:BytecodeAttributeWrite to method.- Specified by:
writein interfaceBytecodeAttribute- Parameters:
method- Bytecode where to write.labels- Method labels.
-
directives
Description copied from interface:BytecodeAttributeConverts to directives.- Specified by:
directivesin interfaceBytecodeAttribute- Parameters:
index- Index of the attribute.format- Format of the directives.- Returns:
- Directives.
-