- All Superinterfaces:
Attribute<SourceFileAttribute>,ClassElement,ClassfileElement,WritableElement<SourceFileAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundSourceFileAttribute,UnboundAttribute.UnboundSourceFileAttribute
public sealed interface SourceFileAttribute
extends Attribute<SourceFileAttribute>, ClassElement
permits BoundAttribute.BoundSourceFileAttribute, UnboundAttribute.UnboundSourceFileAttribute
Models the
SourceFile attribute , which
can appear on classes. Delivered as a ClassElement
when traversing a ClassModel.-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceFileAttributestatic SourceFileAttributeReturns the name of the source file from which this class was compiled.Methods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
sourceFile
Utf8Entry sourceFile()Returns the name of the source file from which this class was compiled.- Returns:
- the name of the source file from which this class was compiled
-
of
-
of
-