Class UnboundAttribute.UnboundSourceFileAttribute

All Implemented Interfaces:
Attribute<SourceFileAttribute>, SourceFileAttribute, ClassElement, ClassfileElement, WritableElement<SourceFileAttribute>
Enclosing class:
UnboundAttribute<T extends Attribute<T>>

public static final class UnboundAttribute.UnboundSourceFileAttribute extends UnboundAttribute<SourceFileAttribute> implements SourceFileAttribute
  • Constructor Details

    • UnboundSourceFileAttribute

      public UnboundSourceFileAttribute(Utf8Entry sourceFile)
  • Method Details

    • sourceFile

      public Utf8Entry sourceFile()
      Description copied from interface: SourceFileAttribute
      Returns the name of the source file from which this class was compiled.
      Specified by:
      sourceFile in interface SourceFileAttribute
      Returns:
      the name of the source file from which this class was compiled