Uses of Package
java.lang.classfile
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.Provides specific components, transformations, and tools built on top of the
java.lang.classfile
PREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW library.Provides interfaces describing code instructions for the
java.lang.classfile
PREVIEW library.-
ClassDescriptionPreview.Models the access flags for a class, method, or field.Preview.Preview.Preview.Models an
element_value
structure, or a value of an element-value pair of an annotation, as defined in JVMS 4.7.16.1.Preview.Models an annotation value of an element-value pair.Preview.Models an array value of an element-value pair.Preview.Models a boolean value of an element-value pair.Preview.Models a byte value of an element-value pair.Preview.Models a char value of an element-value pair.Preview.Models a class value of an element-value pair.Preview.Models a constant value of an element-value pair.Preview.Models a double value of an element-value pair.Preview.Models an enum value of an element-value pair.Preview.Models a float value of an element-value pair.Preview.Models an int value of an element-value pair.Preview.Models a long value of an element-value pair.Preview.Models a short value of an element-value pair.Preview.Models a string value of an element-value pair.Preview.Models a classfile attribute (JVMS 4.7).Preview.AClassFileElement
PREVIEW describing an entity that has attributes, such as a class, field, method, code attribute, or record component.Preview.Bidirectional mapper between the classfile representation of an attribute and how that attribute is modeled in the API.Preview.Attribute stability indicatorPreview.Supports writing portions of a classfile to a growable buffer.Preview.A builder for classfiles.Preview.A marker interface for elements that can appear when traversing aClassModel
PREVIEW or be presented to aClassBuilder
PREVIEW.Preview.Represents a context for parsing, transforming, and generating classfiles.Preview.Option describing attribute mappers for custom attributes.Preview.Option describing whether to process or discard unrecognized or problematic original attributes when a class, record component, field, method or code is transformed in its exploded form.Preview.Option describing the class hierarchy resolver to use when generating stack maps.Preview.Option describing whether to preserve the original constant pool when transforming a classfile.Preview.Option describing whether to patch out unreachable code.Preview.Option describing whether to filter unresolved labels.Preview.Option describing whether to process or discard debug elements.Preview.Option describing whether to process or discard line numbers.Preview.An option that affects the parsing and writing of classfiles.Preview.Option describing whether to automatically rewrite short jumps to long when necessary.Preview.Option describing whether to generate stackmaps.Preview.A builder for a classfile or portion of a classfile.Preview.Immutable model for a portion of (or the entirety of) a classfile.Preview.A transformation on streams of elements.Preview.Models the classfile version information for a class.Preview.Provides class hierarchy information for generating correct stack maps during code building.Preview.Information about a resolved class.Preview.Models a classfile.Preview.Supports reading from a classfile.Preview.Models the generic signature of a class file, as defined by JVMS 4.7.9.Preview.A transformation on streams ofClassElement
PREVIEW.Preview.A builder for code attributes (method bodies).Preview.A builder for blocks of code.Preview.A builder to add catch blocks.Preview.A marker interface for elements that can appear when traversing aCodeModel
PREVIEW or be presented to aCodeBuilder
PREVIEW.Preview.Models the body of a method (theCode
attribute).Preview.A transformation on streams ofCodeElement
PREVIEW.Preview.AClassFileElement
PREVIEW that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.Preview.Models a non-standard attribute of a classfile.Preview.A builder for fields.Preview.A marker interface for elements that can appear when traversing aFieldModel
PREVIEW or be presented to aFieldBuilder
PREVIEW.Preview.Models a field.Preview.A transformation on streams ofFieldElement
PREVIEW.Preview.Models the interfaces of a class.Preview.A marker for a position within the instructions of a method body.Preview.A builder for methods.Preview.A marker interface for elements that can appear when traversing aMethodModel
PREVIEW or be presented to aMethodBuilder
PREVIEW.Preview.Models a method.Preview.Models the generic signature of a method, as defined by JVMS 4.7.9.Preview.A transformation on streams ofMethodElement
PREVIEW.Preview.Describes the opcodes of the JVM instruction set, as described in JVMS 6.5.Preview.Kinds of opcodes.Preview.Models generic Java type signatures, as defined in JVMS 4.7.9.1.Preview.Models the signature of an array type.Preview.Models the signature of a primitive type or voidPreview.Models the signature of a possibly-parameterized class or interface type.Preview.Models the signature of a reference type, which may be a class, interface, type variable, or array type.Preview.Models a signature for a throwable type.Preview.Models the type argument.Preview.Models a type argument with an explicit bound type.Preview.Models a type argument's wildcard indicator.Preview.Models an unbounded type argument*
.Preview.Models a signature for a type parameter of a generic class or method.Preview.Models the signature of a type variable.Preview.Models the superclass of a class.Preview.Models atype_annotation
structure (JVMS 4.7.20).Preview.Indicates that an annotation appears on the i'th type in an exception parameter declaration.Preview.Indicates that an annotation appears on either the type in a field declaration, the return type of a method, the type of a newly constructed object, or the receiver type of a method or constructor.Preview.Indicates that an annotation appears on the type in a formal parameter declaration of a method, constructor, or lambda expression.Preview.Indicates that an annotation appears on the type in a local variable declaration, including a variable declared as a resource in a try-with-resources statement.Preview.Indicates a range of code array offsets within which a local variable has a value, and the index into the local variable array of the current frame at which that local variable can be found.Preview.Indicates that an annotation appears on either the type in an instanceof expression or a new expression, or the type before the :: in a method reference expression.Preview.Indicates that an annotation appears on a type in the extends or implements clause of a class or interface declaration.Preview.Specifies which type in a declaration or expression is being annotated.Preview.The kind of target on which the annotation appears, as defined in JVMS 4.7.20.1.Preview.Indicates that an annotation appears on the i'th type in the throws clause of a method or constructor declaration.Preview.Indicates that an annotation appears either on the i'th type in a cast expression, or on the i'th type argument in the explicit type argument list for any of the following: a new expression, an explicit constructor invocation statement, a method invocation expression, or a method reference expression.Preview.Indicates that an annotation appears on the i'th bound of the j'th type parameter declaration of a generic class, interface, method, or constructor.Preview.Indicates that an annotation appears on the declaration of the i'th type parameter of a generic class, generic interface, generic method, or generic constructor.Preview.JVMS: Type_path structure identifies which part of the type is annotated, as defined in JVMS 4.7.20.2Preview.Type path kind, as defined in JVMS 4.7.20.2Preview.Describes the data types Java Virtual Machine operates on. -
ClassDescriptionPreview.Preview.Models an
element_value
structure, or a value of an element-value pair of an annotation, as defined in JVMS 4.7.16.1.Preview.Models a classfile attribute (JVMS 4.7).Preview.AClassFileElement
PREVIEW describing an entity that has attributes, such as a class, field, method, code attribute, or record component.Preview.Models an entry in the bootstrap method table.Preview.A marker interface for elements that can appear when traversing aClassModel
PREVIEW or be presented to aClassBuilder
PREVIEW.Preview.Immutable model for a portion of (or the entirety of) a classfile.Preview.Models the generic signature of a class file, as defined by JVMS 4.7.9.Preview.A marker interface for elements that can appear when traversing aCodeModel
PREVIEW or be presented to aCodeBuilder
PREVIEW.Preview.Models the body of a method (theCode
attribute).Preview.AClassFileElement
PREVIEW that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.Preview.A marker interface for elements that can appear when traversing aFieldModel
PREVIEW or be presented to aFieldBuilder
PREVIEW.Preview.A marker for a position within the instructions of a method body.Preview.A marker interface for elements that can appear when traversing aMethodModel
PREVIEW or be presented to aMethodBuilder
PREVIEW.Preview.Models the generic signature of a method, as defined by JVMS 4.7.9.Preview.Models generic Java type signatures, as defined in JVMS 4.7.9.1.Preview.Models atype_annotation
structure (JVMS 4.7.20). -
ClassDescriptionPreview.Models the access flags for a class, method, or field.Preview.Represents a context for parsing, transforming, and generating classfiles.Preview.A transformation on streams of elements.Preview.Models a classfile.Preview.A transformation on streams of
ClassElement
PREVIEW.Preview.A builder for code attributes (method bodies).Preview.A transformation on streams ofCodeElement
PREVIEW.Preview.AClassFileElement
PREVIEW that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.Preview.A transformation on streams ofFieldElement
PREVIEW.Preview.A marker for a position within the instructions of a method body.Preview.A transformation on streams ofMethodElement
PREVIEW.Preview.Describes the data types Java Virtual Machine operates on. -
ClassDescriptionPreview.Models an entry in the bootstrap method table.Preview.Models a classfile.Preview.Describes the data types Java Virtual Machine operates on.
-
ClassDescriptionPreview.Immutable model for a portion of (or the entirety of) a classfile.Preview.A marker interface for elements that can appear when traversing a
CodeModel
PREVIEW or be presented to aCodeBuilder
PREVIEW.Preview.Models an executable instruction in a method body.Preview.A marker for a position within the instructions of a method body.Preview.Describes the opcodes of the JVM instruction set, as described in JVMS 6.5.Preview.Models metadata about aCodeAttribute
PREVIEW, such as entries in the exception table, line number table, local variable table, or the mapping between instructions and labels.Preview.Models generic Java type signatures, as defined in JVMS 4.7.9.1.Preview.Describes the data types Java Virtual Machine operates on.