Uses of Interface
java.lang.classfile.ClassFileElement
Packages that use ClassFileElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
library.Provides interfaces describing code instructions for the
java.lang.classfile
library.-
Uses of ClassFileElement in java.lang.classfile
Classes in java.lang.classfile with type parameters of type ClassFileElementModifier and TypeInterfaceDescriptioninterface
ClassFileBuilder<E extends ClassFileElement, B extends ClassFileBuilder<E,
B>> A builder for a classfile or portion of a classfile.interface
ClassFileTransform<C extends ClassFileTransform<C,
E, B>, E extends ClassFileElement, B extends ClassFileBuilder<E, B>> A transformation on streams of elements.interface
CompoundElement<E extends ClassFileElement>
AClassFileElement
that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.Subinterfaces of ClassFileElement in java.lang.classfileModifier and TypeInterfaceDescriptioninterface
Models the access flags for a class, method, or field.interface
Models a classfile attribute (JVMS 4.7).interface
AClassFileElement
describing an entity that has attributes, such as a class, field, method, code attribute, or record component.interface
A marker interface for elements that can appear when traversing aClassModel
or be presented to aClassBuilder
.interface
Models the classfile version information for a class.interface
Models a classfile.interface
A marker interface for elements that can appear when traversing aCodeModel
or be presented to aCodeBuilder
.interface
Models the body of a method (theCode
attribute).interface
CompoundElement<E extends ClassFileElement>
AClassFileElement
that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.interface
A marker interface for elements that can appear when traversing aFieldModel
or be presented to aFieldBuilder
.interface
Models a field.interface
Models an executable instruction in thecode
array of theCode
attribute of a method.interface
Models the interfaces of a class.interface
A marker interface for elements that can appear when traversing aMethodModel
or be presented to aMethodBuilder
.interface
Models a method.interface
Models metadata about aCodeAttribute
, such as entries in the exception table, line number table, local variable table, or the mapping between instructions and labels.interface
Models the superclass of a class.Classes in java.lang.classfile that implement ClassFileElementModifier and TypeClassDescriptionclass
CustomAttribute<T extends CustomAttribute<T>>
Models a non-standard attribute of a classfile. -
Uses of ClassFileElement in java.lang.classfile.attribute
Subinterfaces of ClassFileElement in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterface
interface
Models theBootstrapMethods
attribute (JVMS 4.7.23), which serves as an extension to the constant pool of a classfile.interface
The CharacterRangeTable attribute is an optional variable-length attribute in the attributes table of aCode
attribute.interface
Models theCode
attribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.interface
Models theCompilationID
attribute (@@@ need reference), which can appear on classes and records the compilation time of the class.interface
Models theConstantValue
attribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.interface
Models theDeprecated
attribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interface
Models theEnclosingMethod
attribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.interface
Models theExceptions
attribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.interface
Models theInnerClasses
attribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.interface
Models theLineNumberTable
attribute (JVMS 4.7.12), which can appear on aCode
attribute, and records the mapping between indexes into the code table and line numbers in the source file.interface
Models theLocalVariableTable
attribute (JVMS 4.7.13), which can appear on aCode
attribute, and records debug information about local variables.interface
Models theLocalVariableTypeTable
attribute (JVMS 4.7.14), which can appear on aCode
attribute, and records debug information about local variables.interface
Models theMethodParameters
attribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.interface
Models theModule
attribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.interface
Models theModuleHashes
attribute, which can appear on classes that represent module descriptors.interface
Models theModuleMainClass
attribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.interface
Models theModulePackages
attribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.interface
Models theModuleResolution
attribute, which can appear on classes that represent module descriptors.interface
Models theModuleTarget
attribute, which can appear on classes that represent module descriptors.interface
Models theNestHost
attribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.interface
Models theNestMembers
attribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.interface
Models thePermittedSubclasses
attribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.interface
Models theRecord
attribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.interface
Models a single record component in theRecordAttribute
.interface
Models theRuntimeInvisibleAnnotations
attribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interface
Models theRuntimeInvisibleParameterAnnotations
attribute (JVMS 4.7.19), which can appear on methods.interface
Models theRuntimeInvisibleTypeAnnotations
attribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interface
Models theRuntimeVisibleAnnotations
attribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interface
Models theRuntimeVisibleParameterAnnotations
attribute (JVMS 4.7.18), which can appear on methods.interface
Models theRuntimeVisibleTypeAnnotations
attribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interface
Models theSignature
attribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interface
Models theSourceDebugExtension
attribute.interface
Models theSourceFile
attribute (JVMS 4.7.10), which can appear on classes.interface
Models theSourceID
attribute, which can appear on classes.interface
interface
Models theSynthetic
attribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interface
Models an unknown attribute on a class, method, or field. -
Uses of ClassFileElement in java.lang.classfile.instruction
Subinterfaces of ClassFileElement in java.lang.classfile.instructionModifier and TypeInterfaceDescriptioninterface
Models an array load instruction in thecode
array of aCode
attribute.interface
Models an array store instruction in thecode
array of aCode
attribute.interface
Models a branching instruction (conditional or unconditional) in thecode
array of aCode
attribute.interface
A pseudo-instruction which models a single entry in theCharacterRangeTable
attribute.interface
Models a constant-load instruction in thecode
array of aCode
attribute, including "intrinsic", "argument", and "load" constant instructions.static interface
Models an "argument constant" instruction, which encodes the constant value in the instruction directly.static interface
Models an "intrinsic constant" instruction, which encodes the constant value in its opcode.static interface
Models a "load constant" instruction, which encodes the constant value in the constant pool.interface
interface
Marker interface for instruction discontinued from thecode
array of aCode
attribute.static interface
static interface
interface
A pseudo-instruction modeling an entry in theexception_table
array of aCode
attribute.interface
Models a field access instruction in thecode
array of aCode
attribute.interface
Models a local variable increment instruction in thecode
array of aCode
attribute.interface
Models a dynamically-computed call site invocation instruction in thecode
array of aCode
attribute.interface
Models a method invocation instruction in thecode
array of aCode
attribute, other thaninvokedynamic
.interface
A pseudo-instruction which indicates that the specified label corresponds to the current position in theCode
attribute.interface
A pseudo-instruction which indicates the code for a given line number starts after the current position in aCode
attribute.interface
Models a local variable load instruction in thecode
array of aCode
attribute.interface
A pseudo-instruction which models a single entry in theLocalVariableTable
attribute.interface
A pseudo-instruction which models a single entry in theLocalVariableTypeTable
attribute.interface
interface
interface
interface
interface
interface
interface
interface
Models an arithmetic operator instruction in thecode
array of aCode
attribute.interface
Models a return-from-method instruction in thecode
array of aCode
attribute.interface
Models a stack manipulation instruction in thecode
array of aCode
attribute.interface
Models a local variable store instruction in thecode
array of aCode
attribute.interface
interface
interface