Uses of Interface
java.lang.classfile.ClassFileElement
Packages that use ClassFileElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file 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 TypeInterfaceDescriptioninterfaceClassFileBuilder<E extends ClassFileElement, B extends ClassFileBuilder<E,B>> A builder for aCompoundElement, which accepts the member elements to be integrated into the built structure.interfaceClassFileTransform<C extends ClassFileTransform<C,E, B>, E extends ClassFileElement, B extends ClassFileBuilder<E, B>> A transformation on aCompoundElementby processing its individual member elements and sending the results to aClassFileBuilder, throughClassFileBuilder.transform(java.lang.classfile.CompoundElement<E>, java.lang.classfile.ClassFileTransform<?, E, B>).interfaceCompoundElement<E extends ClassFileElement>Aclassfile structure that can be viewed as a composition of its member structures.Subinterfaces of ClassFileElement in java.lang.classfileModifier and TypeInterfaceDescriptioninterfaceModels the access flags for a class, method, or field.interfaceModels an attribute (JVMS 4.7) in theclassfile format.interfaceAClassFileElementdescribing aclassfile structure that has attributes, such as aclassfile, a field, a method, aCodeattribute, or a record component.interfaceMarker interface for a member element of aClassModel.interfaceModels the minor and major version numbers of aclassfile (JVMS 4.1).interfaceModels aclassfile.interfaceMarker interface for a member element of aCodeModel.interfaceModels the body of a method (theCodeattribute).interfaceCompoundElement<E extends ClassFileElement>Aclassfile structure that can be viewed as a composition of its member structures.interfaceMarker interface for a member element of aFieldModel.interfaceModels a field.interfaceModels an executable instruction in thecodearray of theCodeattribute of a method.interfaceModels the interfaces (JVMS 4.1) of a class.interfaceMarker interface for a member element of aMethodModel.interfaceModels a method.interfaceinterfaceModels the superclass (JVMS 4.1) of a class.Classes in java.lang.classfile that implement ClassFileElementModifier and TypeClassDescriptionclassCustomAttribute<T extends CustomAttribute<T>>Models a user-defined attribute in aclassfile. -
Uses of ClassFileElement in java.lang.classfile.attribute
Subinterfaces of ClassFileElement in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterfaceModels theAnnotationDefaultattribute (JVMS 4.7.22), which records the default value (JLS 9.6.2) for the annotation interface element defined by this method.interfaceModels theBootstrapMethodsattribute (JVMS 4.7.23), which stores symbolic information for the execution of bootstrap methods, used by dynamically-computed call sites and constants.interfaceModels theCharacterRangeTableattribute, which is a bidirectional mapping from ranges of positions in the source file to ranges of indices into thecodearray.interfaceinterfaceModels theCompilationIDattribute, which records the compilation time of theclassfile.interfaceModels theConstantValueattribute (JVMS 4.7.2), which indicates this field's value is a constant and that constant value.interfaceModels theDeprecatedattribute (JVMS 4.7.15), which indicates this structure has been superseded.interfaceModels theEnclosingMethodattribute (JVMS 4.7.7), which indicates that this class is a local or anonymous class, and indicates the enclosing method or constructor of this class if this class is enclosed in exactly one method or constructor.interfaceModels theExceptionsattribute (JVMS 4.7.5), which records the exceptions declared to be thrown by this method.interfaceModels theInnerClassesattribute (JVMS 4.7.6), which records which classes referenced by thisclassfile are nested classes.interfaceModels theLineNumberTableattribute (JVMS 4.7.12), which records the mapping between indexes into thecodearray and line numbers in the source file.interfaceModels theLocalVariableTableattribute (JVMS 4.7.13), which records debug information about local variables.interfaceModels theLocalVariableTypeTableattribute (JVMS 4.7.14), which records debug information about local variables with generic types.interfaceModels theMethodParametersattribute (JVMS 4.7.24), which records reflective information about this method's parameters such as access modifiers.interfaceinterfaceModels theModuleHashesattribute, which appears on classes that represent module descriptors to capture the hashes of a set of co-delivered modules.interfaceModels theModuleMainClassattribute (JVMS 4.7.27), which appears on classes that represent module descriptors to indicate the main class of the module.interfaceModels theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors to indicate packages in the module used by the module descriptor.interfaceModels theModuleResolutionattribute, which can appear on classes that represent module descriptors, to capture resolution metadata for modules.interfaceModels theModuleTargetattribute, which can appear on classes that represent module descriptors, to represent constraints on the target platform.interfaceinterfaceModels theNestMembersattribute (JVMS 4.7.29), which indicates that this class is the host of a nest and the other nest members.interfaceModels thePermittedSubclassesattribute (JVMS 4.7.31), which indicates this class or interface is sealed, and which classes or interfaces may extend or implement this class or interface.interfaceinterfaceModels a single record component in theRecordAttribute.interfaceModels theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which stores declaration annotations on this structure that are visible toclassfile consumers but are not visible to core reflection.interfaceModels theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which stores declaration annotations on the method parameters of this method that are visible toclassfile consumers but are not visible to core reflection.interfaceModels theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which stores type-use annotations for the annotated uses of types in this structure that are visible toclassfile consumers but are not visible to core reflection.interfaceModels theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which stores declaration annotations on this structure that are visible to bothclassfile consumers and core reflection.interfaceModels theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which stores declaration annotations on the method parameters of this method that are visible to bothclassfile consumers and core reflection.interfaceModels theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which stores type-use annotations for the annotated uses of types in this structure that are visible to bothclassfile consumers and core reflection.interfaceinterfaceModels theSourceDebugExtensionattribute (JVMS 4.7.11), which stores arbitrary modified UTF-8 data.interfaceModels theSourceFileattribute (JVMS 4.7.10), which indicates the name of the source file from which thisclassfile was compiled.interfaceModels theSourceIDattribute, which records the last modified time of the source file from which thisclassfile was compiled.interfaceModels theStackMapTableattribute (JVMS 4.7.4), which is used for verification by type checking (4.10.1).interfaceinterfaceModels an unknown attribute read from aclassfile. -
Uses of ClassFileElement in java.lang.classfile.instruction
Subinterfaces of ClassFileElement in java.lang.classfile.instructionModifier and TypeInterfaceDescriptioninterfaceModels an array load instruction in thecodearray of aCodeattribute.interfaceModels an array store instruction in thecodearray of aCodeattribute.interfaceModels a branching instruction (conditional or unconditional) in thecodearray of aCodeattribute.interfaceA pseudo-instruction which models a single entry in theCharacterRangeTableattribute.interfaceModels a constant-load instruction in thecodearray of aCodeattribute, including "intrinsic", "argument", and "load" constant instructions.static interfaceModels an "argument constant" instruction, which encodes the constant value in the instruction directly.static interfaceModels an "intrinsic constant" instruction, which encodes the constant value in its opcode.static interfaceModels a "load constant" instruction, which encodes the constant value in the constant pool.interfaceinterfaceMarker interface for instruction discontinued from thecodearray of aCodeattribute.static interfacestatic interfaceinterfaceA pseudo-instruction modeling an entry in theexception_tablearray of aCodeattribute.interfaceModels a field access instruction in thecodearray of aCodeattribute.interfaceModels a local variable increment instruction in thecodearray of aCodeattribute.interfaceModels a dynamically-computed call site invocation instruction in thecodearray of aCodeattribute.interfaceModels a method invocation instruction in thecodearray of aCodeattribute, other thaninvokedynamic.interfaceA pseudo-instruction which indicates that the specified label corresponds to the current position in theCodeattribute.interfaceA pseudo-instruction which indicates the code for a given line number starts after the current position in aCodeattribute.interfaceModels a local variable load instruction in thecodearray of aCodeattribute.interfaceA pseudo-instruction which models a single entry in theLocalVariableTableattribute.interfaceA pseudo-instruction which models a single entry in theLocalVariableTypeTableattribute.interfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceModels an arithmetic operator instruction in thecodearray of aCodeattribute.interfaceModels a return-from-method instruction in thecodearray of aCodeattribute.interfaceModels a stack manipulation instruction in thecodearray of aCodeattribute.interfaceModels a local variable store instruction in thecodearray of aCodeattribute.interfaceinterfaceinterface