Uses of Interface java.lang.classfile.attribute.SourceFileAttribute (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.classfile.attribute, interface: SourceFileAttribute

# 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

  Methods in java.lang.classfilePREVIEW that return types with arguments of type SourceFileAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static AttributeMapperPREVIEW<SourceFileAttributePREVIEW>`
  Attributes.`sourceFile()`
  Returns Attribute mapper for the `SourceFile` attribute.

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

  Subinterfaces with type arguments of type SourceFileAttributePREVIEW in java.lang.classfile.attributePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `SourceFileAttributePREVIEW`
  Preview.
  Models the `SourceFile` attribute 4.7.10, which can appear on classes.
  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.