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

# Uses of Interface
java.lang.classfile.AttributedElement

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

- ## Uses of AttributedElement in java.lang.classfile

  Subinterfaces of AttributedElement in java.lang.classfile
  Modifier and Type
  Interface
  Description
  `interface`
  `ClassModel`
  Models a `class` file.
  `interface`
  `CodeModel`
  Models the body of a method (the `Code` attribute).
  `interface`
  `FieldModel`
  Models a field.
  `interface`
  `MethodModel`
  Models a method.
  Methods in java.lang.classfile with parameters of type AttributedElement
  Modifier and Type
  Method
  Description
  `A`
  AttributeMapper.`readAttribute(AttributedElement enclosing, ClassReader cf, int pos)`
  Creates an `Attribute` instance from a `class` file for the Class-File API.

- ## Uses of AttributedElement in java.lang.classfile.attribute

  Subinterfaces of AttributedElement in java.lang.classfile.attribute
  Modifier and Type
  Interface
  Description
  `interface`
  `CodeAttribute`
  Models the `Code` attribute (JVMS 4.7.3), which contains the bytecode of this method.
  `interface`
  `RecordComponentInfo`
  Models a single record component in the `RecordAttribute`.