Class BytecodeAttribute.SourceFile
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeAttribute.SourceFile
-
- All Implemented Interfaces:
BytecodeAttribute
- Enclosing interface:
- BytecodeAttribute
public static final class BytecodeAttribute.SourceFile extends Object implements BytecodeAttribute
Source file 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 Constructor Description SourceFile(String source, String debug)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.xembly.Directive>directives(int index, Format format)Converts to directives.voidwrite(org.objectweb.asm.ClassVisitor clazz)Write to class.voidwrite(org.objectweb.asm.MethodVisitor method, AsmLabels labels)Write to method.
-
-
-
Method Detail
-
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
public void write(org.objectweb.asm.MethodVisitor method, AsmLabels labels)Description copied from interface:BytecodeAttributeWrite to method.- Specified by:
writein interfaceBytecodeAttribute- Parameters:
method- Bytecode where to write.labels- Method labels.
-
directives
public Iterable<org.xembly.Directive> directives(int index, Format format)
Description copied from interface:BytecodeAttributeConverts to directives.- Specified by:
directivesin interfaceBytecodeAttribute- Parameters:
index- Index of the attribute.format- Format of the directives.- Returns:
- Directives.
-
-