# Uses of Interface
java.lang.classfile.CompoundElement

Packages that use CompoundElement
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 CompoundElement in java.lang.classfile

  Subinterfaces of CompoundElement 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 CompoundElement
  Modifier and Type
  Method
  Description
  `default B`
  ClassFileBuilder.`transform(CompoundElement<E> model, ClassFileTransform<?,E,B> transform)`
  Applies a transform to a compound structure, directing results to this builder.

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

  Subinterfaces of CompoundElement 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.