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 TypeInterfaceDescriptioninterfaceClassFileBuilder<E extends ClassFileElement, B extends ClassFileBuilder<E,B>> A builder for a classfile or portion of a classfile.interfaceClassFileTransform<C extends ClassFileTransform<C,E, B>, E extends ClassFileElement, B extends ClassFileBuilder<E, B>> A transformation on streams of elements.interfaceCompoundElement<E extends ClassFileElement>AClassFileElementthat 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 TypeInterfaceDescriptioninterfaceModels the access flags for a class, method, or field.interfaceModels a classfile attribute (JVMS 4.7).interfaceAClassFileElementdescribing an entity that has attributes, such as a class, field, method, code attribute, or record component.interfaceA marker interface for elements that can appear when traversing aClassModelor be presented to aClassBuilder.interfaceModels the classfile version information for a class.interfaceModels a classfile.interfaceA marker interface for elements that can appear when traversing aCodeModelor be presented to aCodeBuilder.interfaceModels the body of a method (theCodeattribute).interfaceCompoundElement<E extends ClassFileElement>AClassFileElementthat has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.interfaceA marker interface for elements that can appear when traversing aFieldModelor be presented to aFieldBuilder.interfaceModels a field.interfaceModels an executable instruction in a method body.interfaceModels the interfaces of a class.interfaceA marker interface for elements that can appear when traversing aMethodModelor be presented to aMethodBuilder.interfaceModels a method.interfaceModels metadata about aCodeAttribute, such as entries in the exception table, line number table, local variable table, or the mapping between instructions and labels.interfaceModels the superclass of a class.Classes in java.lang.classfile that implement ClassFileElementModifier and TypeClassDescriptionclassCustomAttribute<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 TypeInterfaceDescriptioninterfaceinterfaceModels theBootstrapMethodsattribute (JVMS 4.7.23), which serves as an extension to the constant pool of a classfile.interfaceThe CharacterRangeTable attribute is an optional variable-length attribute in the attributes table of aCodeattribute.interfaceModels theCodeattribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.interfaceModels theCompilationIDattribute (@@@ need reference), which can appear on classes and records the compilation time of the class.interfaceModels theConstantValueattribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.interfaceModels theDeprecatedattribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interfaceModels theEnclosingMethodattribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.interfaceModels theExceptionsattribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.interfaceModels theInnerClassesattribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.interfaceModels theLineNumberTableattribute (JVMS 4.7.12), which can appear on aCodeattribute, and records the mapping between indexes into the code table and line numbers in the source file.interfaceModels theLocalVariableTableattribute (JVMS 4.7.13), which can appear on aCodeattribute, and records debug information about local variables.interfaceModels theLocalVariableTypeTableattribute (JVMS 4.7.14), which can appear on aCodeattribute, and records debug information about local variables.interfaceModels theMethodParametersattribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.interfaceModels theModuleattribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.interfaceModels theModuleHashesattribute, which can appear on classes that represent module descriptors.interfaceModels theModuleMainClassattribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.interfaceModels theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.interfaceModels theModuleResolutionattribute, which can appear on classes that represent module descriptors.interfaceModels theModuleTargetattribute, which can appear on classes that represent module descriptors.interfaceModels theNestHostattribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.interfaceModels theNestMembersattribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.interfaceModels thePermittedSubclassesattribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.interfaceModels theRecordattribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.interfaceModels a single record component in theRecordAttribute.interfaceModels theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interfaceModels theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which can appear on methods.interfaceModels theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interfaceModels theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interfaceModels theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which can appear on methods.interfaceModels theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interfaceModels theSignatureattribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interfaceModels theSourceDebugExtensionattribute.interfaceModels theSourceFileattribute (JVMS 4.7.10), which can appear on classes.interfaceModels theSourceIDattribute, which can appear on classes.interfaceinterfaceModels theSyntheticattribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interfaceModels 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 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 constant" instructions (e.g.,iconst_0), "argument constant" instructions (e.g.,bipush), and "load constant" instructions (e.g.,LDC).static interfaceModels an "argument constant" instruction (e.g.,bipush).static interfaceModels an "intrinsic constant" instruction (e.g.,iconst_0).static interfaceModels a "load constant" instruction (e.g.,ldc).interfaceModels a primitive conversion instruction in thecodearray of aCodeattribute, such asi2l.interfaceModels instruction discontinued from thecodearray of aCodeattribute.static interfaceModels JSR and JSR_W instructions discontinued from thecodearray of aCodeattribute since class file version 51.0.static interfaceModels RET and RET_W instructions discontinued from thecodearray of aCodeattribute since class file version 51.0.interfaceA pseudo-instruction modeling an entry in the exception table of a code attribute.interfaceModels a field access instruction in thecodearray of aCodeattribute.interfaceModels a local variable increment instruction in thecodearray of aCodeattribute.interfaceModels aninvokedynamicinstruction 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 models a single entry in theLineNumberTableAttribute.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.interfaceModels alookupswitchinstruction in thecodearray of aCodeattribute.interfaceModels amonitorenterormonitorexitinstruction in thecodearray of aCodeattribute.interfaceModels amultianewarrayinvocation instruction in thecodearray of aCodeattribute.interfaceModels anewinstruction in thecodearray of aCodeattribute.interfaceModels anewarrayinvocation instruction in thecodearray of aCodeattribute.interfaceModels aanewarrayinvocation instruction in thecodearray of aCodeattribute.interfaceModels anopinvocation instruction in thecodearray of aCodeattribute.interfaceModels 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.interfaceModels atableswitchinstruction in thecodearray of aCodeattribute.interfaceModels anathrowinstruction in thecodearray of aCodeattribute.interfaceModels aninstanceoforcheckcastinstruction in thecodearray of aCodeattribute.