# Uses of Interface
java.lang.classfile.attribute.SourceFileAttribute

Packages that use SourceFileAttributePREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of SourceFileAttributePREVIEW in java.lang.classfilePREVIEW

  Fields in java.lang.classfilePREVIEW with type parameters of type SourceFileAttributePREVIEW
  Modifier and Type
  Field
  Description
  `static final AttributeMapperPREVIEW<SourceFileAttributePREVIEW>`
  Attributes.`SOURCE_FILE`
  Attribute mapper for the `SourceFile` attribute

- ## Uses of SourceFileAttributePREVIEW in java.lang.classfile.attributePREVIEW

  Methods in java.lang.classfile.attributePREVIEW that return SourceFileAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static SourceFileAttributePREVIEW`
  SourceFileAttribute.`of(Utf8EntryPREVIEW sourceFile)`
  Returns a source file attribute.
  `static SourceFileAttributePREVIEW`
  SourceFileAttribute.`of(String sourceFile)`
  Returns a source file attribute.