# Preview API

Show preview API for:

- 457: ClassFile API (Preview)
- 459: String Templates (Second Preview)
- 461: Stream Gatherers (Preview)
- 462: Structured Concurrency (Second Preview)
- 464: Scoped Values (Second Preview)
- 468: Derived Record Creation (Preview)
- Toggle all

## Contents

- Packages
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Fields
- Methods
- Enum Constants

- Packages
  Package
  Preview Feature
  Description
  java.lang.classfilePREVIEW
  ClassFile API
  Provides classfile parsing, generation, and transformation library.
  java.lang.classfile.attributePREVIEW
  ClassFile API
  Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.
  java.lang.classfile.componentsPREVIEW
  ClassFile API
  Provides specific components, transformations, and tools built on top of the `java.lang.classfile`PREVIEW library.
  java.lang.classfile.constantpoolPREVIEW
  ClassFile API
  Provides interfaces describing classfile constant pool entries for the `java.lang.classfile`PREVIEW library.
  java.lang.classfile.instructionPREVIEW
  ClassFile API
  Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.

- Interfaces
  Interface
  Preview Feature
  Description
  com.sun.source.tree.DerivedInstanceTreePREVIEW
  Derived Record Creation
  A tree node for a derived record creation expression.
  com.sun.source.tree.StringTemplateTreePREVIEW
  String Templates
  A tree node for a string template expression.
  java.lang.classfile.AccessFlagsPREVIEW
  ClassFile API
  Models the access flags for a class, method, or field.
  java.lang.classfile.AnnotationPREVIEW
  ClassFile API
  Models an annotation on a declaration.
  java.lang.classfile.AnnotationElementPREVIEW
  ClassFile API
  Models a key-value pair of an annotation.
  java.lang.classfile.AnnotationValuePREVIEW
  ClassFile API
  Models the value of a key-value pair of an annotation.
  java.lang.classfile.AnnotationValue.OfAnnotationPREVIEW
  ClassFile API
  Models an annotation-valued element
  java.lang.classfile.AnnotationValue.OfArrayPREVIEW
  ClassFile API
  Models an array-valued element
  java.lang.classfile.AnnotationValue.OfBooleanPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfBytePREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfCharacterPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfClassPREVIEW
  ClassFile API
  Models a class-valued element
  java.lang.classfile.AnnotationValue.OfConstantPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfDoublePREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfEnumPREVIEW
  ClassFile API
  Models an enum-valued element
  java.lang.classfile.AnnotationValue.OfFloatPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfIntegerPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfLongPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfShortPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AnnotationValue.OfStringPREVIEW
  ClassFile API
  Models a constant-valued element
  java.lang.classfile.AttributePREVIEW
  ClassFile API
  Models a classfile attribute 4.7.
  java.lang.classfile.attribute.AnnotationDefaultAttributePREVIEW
  ClassFile API
  Models the `AnnotationDefault` attribute 4.7.22, which can appear on methods of annotation types, and records the default value 9.6.2 for the element corresponding to this method.
  java.lang.classfile.attribute.BootstrapMethodsAttributePREVIEW
  ClassFile API
  Models the `BootstrapMethods` attribute 4.7.23, which serves as an extension to the constant pool of a classfile.
  java.lang.classfile.attribute.CharacterRangeInfoPREVIEW
  ClassFile API
  Models a single character range in the `CharacterRangeTableAttribute`PREVIEW.
  java.lang.classfile.attribute.CharacterRangeTableAttributePREVIEW
  ClassFile API
  The CharacterRangeTable attribute is an optional variable-length attribute in the attributes table of a `Code` attribute.
  java.lang.classfile.attribute.CodeAttributePREVIEW
  ClassFile API
  Models the `Code` attribute 4.7.3, appears on non-native, non-abstract methods and contains the bytecode of the method body.
  java.lang.classfile.attribute.CompilationIDAttributePREVIEW
  ClassFile API
  Models the `CompilationID` attribute (@@@ need reference), which can appear on classes and records the compilation time of the class.
  java.lang.classfile.attribute.ConstantValueAttributePREVIEW
  ClassFile API
  Models the `ConstantValue` attribute 4.7.2, which can appear on fields and indicates that the field's value is a constant.
  java.lang.classfile.attribute.DeprecatedAttributePREVIEW
  ClassFile API
  Models the `Deprecated` attribute 4.7.15, which can appear on classes, methods, and fields.
  java.lang.classfile.attribute.EnclosingMethodAttributePREVIEW
  ClassFile API
  Models the `EnclosingMethod` attribute 4.7.7, which can appear on classes, and indicates that the class is a local or anonymous class.
  java.lang.classfile.attribute.ExceptionsAttributePREVIEW
  ClassFile API
  Models the `Exceptions` attribute 4.7.5, which can appear on methods, and records the exceptions declared to be thrown by this method.
  java.lang.classfile.attribute.InnerClassesAttributePREVIEW
  ClassFile API
  Models the `InnerClasses` attribute 4.7.6, which can appear on classes, and records which classes referenced by this classfile are inner classes.
  java.lang.classfile.attribute.InnerClassInfoPREVIEW
  ClassFile API
  Models a single inner class in the `InnerClassesAttribute`PREVIEW.
  java.lang.classfile.attribute.LineNumberInfoPREVIEW
  ClassFile API
  Models a single line number in the `LineNumberTableAttribute`PREVIEW.
  java.lang.classfile.attribute.LineNumberTableAttributePREVIEW
  ClassFile API
  Models the `LineNumberTable` attribute 4.7.12, which can appear on a `Code` attribute, and records the mapping between indexes into the code table and line numbers in the source file.
  java.lang.classfile.attribute.LocalVariableInfoPREVIEW
  ClassFile API
  Models a single local variable in the `LocalVariableTableAttribute`PREVIEW.
  java.lang.classfile.attribute.LocalVariableTableAttributePREVIEW
  ClassFile API
  Models the `LocalVariableTable` attribute 4.7.13, which can appear on a `Code` attribute, and records debug information about local variables.
  java.lang.classfile.attribute.LocalVariableTypeInfoPREVIEW
  ClassFile API
  Models a single local variable in the `LocalVariableTypeTableAttribute`PREVIEW.
  java.lang.classfile.attribute.LocalVariableTypeTableAttributePREVIEW
  ClassFile API
  Models the `LocalVariableTypeTable` attribute 4.7.14, which can appear on a `Code` attribute, and records debug information about local variables.
  java.lang.classfile.attribute.MethodParameterInfoPREVIEW
  ClassFile API
  Models a single method parameter in the `MethodParametersAttribute`PREVIEW.
  java.lang.classfile.attribute.MethodParametersAttributePREVIEW
  ClassFile API
  Models the `MethodParameters` attribute 4.7.24, which can appear on methods, and records optional information about the method's parameters.
  java.lang.classfile.attribute.ModuleAttributePREVIEW
  ClassFile API
  Models the `Module` attribute 4.7.25, which can appear on classes that represent module descriptors.
  java.lang.classfile.attribute.ModuleAttribute.ModuleAttributeBuilderPREVIEW
  ClassFile API
  A builder for module attributes.
  java.lang.classfile.attribute.ModuleExportInfoPREVIEW
  ClassFile API
  Models a single "exports" declaration in the `ModuleAttribute`PREVIEW.
  java.lang.classfile.attribute.ModuleHashesAttributePREVIEW
  ClassFile API
  Models the `ModuleHashes` attribute, which can appear on classes that represent module descriptors.
  java.lang.classfile.attribute.ModuleHashInfoPREVIEW
  ClassFile API
  Models hash information for a single module in the `ModuleHashesAttribute`PREVIEW.
  java.lang.classfile.attribute.ModuleMainClassAttributePREVIEW
  ClassFile API
  Models the `ModuleMainClass` attribute 4.7.27, which can appear on classes that represent module descriptors.
  java.lang.classfile.attribute.ModuleOpenInfoPREVIEW
  ClassFile API
  Models a single "opens" declaration in the `ModuleAttribute`PREVIEW.
  java.lang.classfile.attribute.ModulePackagesAttributePREVIEW
  ClassFile API
  Models the `ModulePackages` attribute 4.7.26, which can appear on classes that represent module descriptors.
  java.lang.classfile.attribute.ModuleProvideInfoPREVIEW
  ClassFile API
  Models a single "provides" declaration in the `ModuleAttribute`PREVIEW.
  java.lang.classfile.attribute.ModuleRequireInfoPREVIEW
  ClassFile API
  Models a single "requires" declaration in the `ModuleAttribute`PREVIEW.
  java.lang.classfile.attribute.ModuleResolutionAttributePREVIEW
  ClassFile API
  Models the `ModuleResolution` attribute, which can appear on classes that represent module descriptors.
  java.lang.classfile.attribute.ModuleTargetAttributePREVIEW
  ClassFile API
  Models the `ModuleTarget` attribute, which can appear on classes that represent module descriptors.
  java.lang.classfile.attribute.NestHostAttributePREVIEW
  ClassFile API
  Models the `NestHost` attribute 4.7.28, which can appear on classes to indicate that this class is a member of a nest.
  java.lang.classfile.attribute.NestMembersAttributePREVIEW
  ClassFile API
  Models the `NestMembers` attribute 4.7.29, which can appear on classes to indicate that this class is the host of a nest.
  java.lang.classfile.attribute.PermittedSubclassesAttributePREVIEW
  ClassFile API
  Models the `PermittedSubclasses` attribute 4.7.31, which can appear on classes to indicate which classes may extend this class.
  java.lang.classfile.attribute.RecordAttributePREVIEW
  ClassFile API
  Models the `Record` attribute 4.7.30, which can appear on classes to indicate that this class is a record class.
  java.lang.classfile.attribute.RecordComponentInfoPREVIEW
  ClassFile API
  Models a single record component in the `RecordAttribute`PREVIEW.
  java.lang.classfile.attribute.RuntimeInvisibleAnnotationsAttributePREVIEW
  ClassFile API
  Models the `RuntimeInvisibleAnnotations` attribute 4.7.17, which can appear on classes, methods, and fields.
  java.lang.classfile.attribute.RuntimeInvisibleParameterAnnotationsAttributePREVIEW
  ClassFile API
  Models the `RuntimeInvisibleParameterAnnotations` attribute 4.7.19, which can appear on methods.
  java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttributePREVIEW
  ClassFile API
  Models the `RuntimeInvisibleTypeAnnotations` attribute 4.7.21, which can appear on classes, methods, fields, and code attributes.
  java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttributePREVIEW
  ClassFile API
  Models the `RuntimeVisibleAnnotations` attribute 4.7.16, which can appear on classes, methods, and fields.
  java.lang.classfile.attribute.RuntimeVisibleParameterAnnotationsAttributePREVIEW
  ClassFile API
  Models the `RuntimeVisibleParameterAnnotations` attribute 4.7.18, which can appear on methods.
  java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttributePREVIEW
  ClassFile API
  Models the `RuntimeVisibleTypeAnnotations` attribute 4.7.20, which can appear on classes, methods, fields, and code attributes.
  java.lang.classfile.attribute.SignatureAttributePREVIEW
  ClassFile API
  Models the `Signature` attribute 4.7.9, which can appear on classes, methods, or fields.
  java.lang.classfile.attribute.SourceDebugExtensionAttributePREVIEW
  ClassFile API
  Models the `SourceDebugExtension` attribute.
  java.lang.classfile.attribute.SourceFileAttributePREVIEW
  ClassFile API
  Models the `SourceFile` attribute 4.7.10, which can appear on classes.
  java.lang.classfile.attribute.SourceIDAttributePREVIEW
  ClassFile API
  Models the `SourceID` attribute, which can appear on classes.
  java.lang.classfile.attribute.StackMapFrameInfoPREVIEW
  ClassFile API
  Models stack map frame of `StackMapTable` attribute 4.7.4.
  java.lang.classfile.attribute.StackMapFrameInfo.ObjectVerificationTypeInfoPREVIEW
  ClassFile API
  A stack value for an object type.
  java.lang.classfile.attribute.StackMapFrameInfo.UninitializedVerificationTypeInfoPREVIEW
  ClassFile API
  An uninitialized stack value.
  java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfoPREVIEW
  ClassFile API
  The type of a stack value.
  java.lang.classfile.attribute.StackMapTableAttributePREVIEW
  ClassFile API
  Models the `StackMapTable` attribute 4.7.4, which can appear on a `Code` attribute.
  java.lang.classfile.attribute.SyntheticAttributePREVIEW
  ClassFile API
  Models the `Synthetic` attribute 4.7.8, which can appear on classes, methods, and fields.
  java.lang.classfile.attribute.UnknownAttributePREVIEW
  ClassFile API
  Models an unknown attribute on a class, method, or field.
  java.lang.classfile.AttributedElementPREVIEW
  ClassFile API
  A `ClassFileElement`PREVIEW describing an entity that has attributes, such as a class, field, method, code attribute, or record component.
  java.lang.classfile.AttributeMapperPREVIEW
  ClassFile API
  Bidirectional mapper between the classfile representation of an attribute and how that attribute is modeled in the API.
  java.lang.classfile.BootstrapMethodEntryPREVIEW
  ClassFile API
  Models an entry in the bootstrap method table.
  java.lang.classfile.BufWriterPREVIEW
  ClassFile API
  Supports writing portions of a classfile to a growable buffer.
  java.lang.classfile.ClassBuilderPREVIEW
  ClassFile API
  A builder for classfiles.
  java.lang.classfile.ClassElementPREVIEW
  ClassFile API
  A marker interface for elements that can appear when traversing a `ClassModel`PREVIEW or be presented to a `ClassBuilder`PREVIEW.
  java.lang.classfile.ClassFilePREVIEW
  ClassFile API
  Represents a context for parsing, transforming, and generating classfiles.
  java.lang.classfile.ClassFile.AttributeMapperOptionPREVIEW
  ClassFile API
  Option describing attribute mappers for custom attributes.
  java.lang.classfile.ClassFile.ClassHierarchyResolverOptionPREVIEW
  ClassFile API
  Option describing the class hierarchy resolver to use when generating stack maps.
  java.lang.classfile.ClassFile.OptionPREVIEW
  ClassFile API
  An option that affects the parsing and writing of classfiles.
  java.lang.classfile.ClassFileBuilderPREVIEW
  ClassFile API
  A builder for a classfile or portion of a classfile.
  java.lang.classfile.ClassFileElementPREVIEW
  ClassFile API
  Immutable model for a portion of (or the entirety of) a classfile.
  java.lang.classfile.ClassFileTransformPREVIEW
  ClassFile API
  A transformation on streams of elements.
  java.lang.classfile.ClassFileTransform.ResolvedTransformPREVIEW
  ClassFile API
  The result of binding a transform to a builder.
  java.lang.classfile.ClassFileVersionPREVIEW
  ClassFile API
  Models the classfile version information for a class.
  java.lang.classfile.ClassHierarchyResolverPREVIEW
  ClassFile API
  Provides class hierarchy information for generating correct stack maps during code building.
  java.lang.classfile.ClassHierarchyResolver.ClassHierarchyInfoPREVIEW
  ClassFile API
  Information about a resolved class.
  java.lang.classfile.ClassModelPREVIEW
  ClassFile API
  Models a classfile.
  java.lang.classfile.ClassReaderPREVIEW
  ClassFile API
  Supports reading from a classfile.
  java.lang.classfile.ClassSignaturePREVIEW
  ClassFile API
  Models the generic signature of a class file, as defined by 4.7.9.
  java.lang.classfile.ClassTransformPREVIEW
  ClassFile API
  A transformation on streams of `ClassElement`PREVIEW.
  java.lang.classfile.CodeBuilderPREVIEW
  ClassFile API
  A builder for code attributes (method bodies).
  java.lang.classfile.CodeBuilder.BlockCodeBuilderPREVIEW
  ClassFile API
  A builder for blocks of code.
  java.lang.classfile.CodeBuilder.CatchBuilderPREVIEW
  ClassFile API
  A builder to add catch blocks.
  java.lang.classfile.CodeElementPREVIEW
  ClassFile API
  A marker interface for elements that can appear when traversing a `CodeModel`PREVIEW or be presented to a `CodeBuilder`PREVIEW.
  java.lang.classfile.CodeModelPREVIEW
  ClassFile API
  Models the body of a method (the `Code` attribute).
  java.lang.classfile.CodeTransformPREVIEW
  ClassFile API
  A transformation on streams of `CodeElement`PREVIEW.
  java.lang.classfile.components.ClassPrinter.LeafNodePREVIEW
  ClassFile API
  A leaf node holding single printable value.
  java.lang.classfile.components.ClassPrinter.ListNodePREVIEW
  ClassFile API
  A tree node holding `List` of nested nodes.
  java.lang.classfile.components.ClassPrinter.MapNodePREVIEW
  ClassFile API
  A tree node holding `Map` of nested nodes.
  java.lang.classfile.components.ClassPrinter.NodePREVIEW
  ClassFile API
  Named, traversable, and printable node parent.
  java.lang.classfile.components.ClassRemapperPREVIEW
  ClassFile API
  `ClassRemapper` is a `ClassTransform`PREVIEW, `FieldTransform`PREVIEW, `MethodTransform`PREVIEW and `CodeTransform`PREVIEW deeply re-mapping all class references in any form, according to given map or map function.
  java.lang.classfile.components.CodeLocalsShifterPREVIEW
  ClassFile API
  `CodeLocalsShifter`PREVIEW is a `CodeTransform`PREVIEW shifting locals to newly allocated positions to avoid conflicts during code injection.
  java.lang.classfile.components.CodeRelabelerPREVIEW
  ClassFile API
  A code relabeler is a `CodeTransform`PREVIEW replacing all occurrences of `Label`PREVIEW in the transformed code with new instances.
  java.lang.classfile.components.CodeStackTrackerPREVIEW
  ClassFile API
  `CodeStackTracker`PREVIEW is a `CodeTransform`PREVIEW tracking stack content and calculating max stack size.
  java.lang.classfile.CompoundElementPREVIEW
  ClassFile API
  A `ClassFileElement`PREVIEW that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.
  java.lang.classfile.constantpool.AnnotationConstantValueEntryPREVIEW
  ClassFile API
  A constant pool entry that may be used as an annotation constant, which includes the four kinds of primitive constants, and UTF8 constants.
  java.lang.classfile.constantpool.ClassEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Class_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.ConstantDynamicEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Dynamic_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.ConstantPoolPREVIEW
  ClassFile API
  Provides read access to the constant pool and bootstrap method table of a classfile.
  java.lang.classfile.constantpool.ConstantPoolBuilderPREVIEW
  ClassFile API
  Builder for the constant pool of a classfile.
  java.lang.classfile.constantpool.ConstantValueEntryPREVIEW
  ClassFile API
  Models a constant pool entry that can be used as the constant in a `ConstantValue` attribute; this includes the four primitive constant types and String constants.
  java.lang.classfile.constantpool.DoubleEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Double_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.DynamicConstantPoolEntryPREVIEW
  ClassFile API
  Models a dynamic constant pool entry, which is either `ConstantDynamicEntry`PREVIEW or `InvokeDynamicEntry`PREVIEW.
  java.lang.classfile.constantpool.FieldRefEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Fieldref_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.FloatEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Float_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.IntegerEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Integer_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.InterfaceMethodRefEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_InterfaceMethodRef_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.InvokeDynamicEntryPREVIEW
  ClassFile API
  Models a constant pool entry for a dynamic call site.
  java.lang.classfile.constantpool.LoadableConstantEntryPREVIEW
  ClassFile API
  Marker interface for constant pool entries suitable for loading via the `LDC` instructions.
  java.lang.classfile.constantpool.LongEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Long_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.MemberRefEntryPREVIEW
  ClassFile API
  Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.
  java.lang.classfile.constantpool.MethodHandleEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_MethodHandle_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.MethodRefEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_MethodRef_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.MethodTypeEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_MethodType_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.ModuleEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Module_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.NameAndTypeEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_NameAndType_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.PackageEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_Package_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.PoolEntryPREVIEW
  ClassFile API
  Models an entry in the constant pool of a classfile.
  java.lang.classfile.constantpool.StringEntryPREVIEW
  ClassFile API
  Models a `CONSTANT_String_info` constant in the constant pool of a classfile.
  java.lang.classfile.constantpool.Utf8EntryPREVIEW
  ClassFile API
  Models a `CONSTANT_UTF8_info` constant in the constant pool of a classfile.
  java.lang.classfile.FieldBuilderPREVIEW
  ClassFile API
  A builder for fields.
  java.lang.classfile.FieldElementPREVIEW
  ClassFile API
  A marker interface for elements that can appear when traversing a `FieldModel`PREVIEW or be presented to a `FieldBuilder`PREVIEW.
  java.lang.classfile.FieldModelPREVIEW
  ClassFile API
  Models a field.
  java.lang.classfile.FieldTransformPREVIEW
  ClassFile API
  A transformation on streams of `FieldElement`PREVIEW.
  java.lang.classfile.InstructionPREVIEW
  ClassFile API
  Models an executable instruction in a method body.
  java.lang.classfile.instruction.ArrayLoadInstructionPREVIEW
  ClassFile API
  Models an array load instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.ArrayStoreInstructionPREVIEW
  ClassFile API
  Models an array store instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.BranchInstructionPREVIEW
  ClassFile API
  Models a branching instruction (conditional or unconditional) in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.CharacterRangePREVIEW
  ClassFile API
  A pseudo-instruction which models a single entry in the `CharacterRangeTableAttribute`PREVIEW.
  java.lang.classfile.instruction.ConstantInstructionPREVIEW
  ClassFile API
  Models a constant-load instruction in the `code` array of a `Code` attribute, including "intrinsic constant" instructions (e.g., `iconst_0`), "argument constant" instructions (e.g., `bipush`), and "load constant" instructions (e.g., `LDC`).
  java.lang.classfile.instruction.ConstantInstruction.ArgumentConstantInstructionPREVIEW
  ClassFile API
  Models an "argument constant" instruction (e.g., `bipush`).
  java.lang.classfile.instruction.ConstantInstruction.IntrinsicConstantInstructionPREVIEW
  ClassFile API
  Models an "intrinsic constant" instruction (e.g., `iconst_0`).
  java.lang.classfile.instruction.ConstantInstruction.LoadConstantInstructionPREVIEW
  ClassFile API
  Models a "load constant" instruction (e.g., `ldc`).
  java.lang.classfile.instruction.ConvertInstructionPREVIEW
  ClassFile API
  Models a primitive conversion instruction in the `code` array of a `Code` attribute, such as `i2l`.
  java.lang.classfile.instruction.DiscontinuedInstructionPREVIEW
  ClassFile API
  Models instruction discontinued from the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.DiscontinuedInstruction.JsrInstructionPREVIEW
  ClassFile API
  Models JSR and JSR_W instructions discontinued from the `code` array of a `Code` attribute since class file version 51.0.
  java.lang.classfile.instruction.DiscontinuedInstruction.RetInstructionPREVIEW
  ClassFile API
  Models RET and RET_W instructions discontinued from the `code` array of a `Code` attribute since class file version 51.0.
  java.lang.classfile.instruction.ExceptionCatchPREVIEW
  ClassFile API
  A pseudo-instruction modeling an entry in the exception table of a code attribute.
  java.lang.classfile.instruction.FieldInstructionPREVIEW
  ClassFile API
  Models a field access instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.IncrementInstructionPREVIEW
  ClassFile API
  Models a local variable increment instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.InvokeDynamicInstructionPREVIEW
  ClassFile API
  Models an `invokedynamic` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.InvokeInstructionPREVIEW
  ClassFile API
  Models a method invocation instruction in the `code` array of a `Code` attribute, other than `invokedynamic`.
  java.lang.classfile.instruction.LabelTargetPREVIEW
  ClassFile API
  A pseudo-instruction which indicates that the specified label corresponds to the current position in the `Code` attribute.
  java.lang.classfile.instruction.LineNumberPREVIEW
  ClassFile API
  A pseudo-instruction which models a single entry in the `LineNumberTableAttribute`PREVIEW.
  java.lang.classfile.instruction.LoadInstructionPREVIEW
  ClassFile API
  Models a local variable load instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.LocalVariablePREVIEW
  ClassFile API
  A pseudo-instruction which models a single entry in the `LocalVariableTableAttribute`PREVIEW.
  java.lang.classfile.instruction.LocalVariableTypePREVIEW
  ClassFile API
  A pseudo-instruction which models a single entry in the `LocalVariableTypeTableAttribute`PREVIEW.
  java.lang.classfile.instruction.LookupSwitchInstructionPREVIEW
  ClassFile API
  Models a `lookupswitch` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.MonitorInstructionPREVIEW
  ClassFile API
  Models a `monitorenter` or `monitorexit` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.NewMultiArrayInstructionPREVIEW
  ClassFile API
  Models a `multianewarray` invocation instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.NewObjectInstructionPREVIEW
  ClassFile API
  Models a `new` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.NewPrimitiveArrayInstructionPREVIEW
  ClassFile API
  Models a `newarray` invocation instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.NewReferenceArrayInstructionPREVIEW
  ClassFile API
  Models a `anewarray` invocation instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.NopInstructionPREVIEW
  ClassFile API
  Models a `nop` invocation instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.OperatorInstructionPREVIEW
  ClassFile API
  Models an arithmetic operator instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.ReturnInstructionPREVIEW
  ClassFile API
  Models a return-from-method instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.StackInstructionPREVIEW
  ClassFile API
  Models a stack manipulation instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.StoreInstructionPREVIEW
  ClassFile API
  Models a local variable store instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.SwitchCasePREVIEW
  ClassFile API
  Models a single case in a `lookupswitch` or `tableswitch` instruction.
  java.lang.classfile.instruction.TableSwitchInstructionPREVIEW
  ClassFile API
  Models a `tableswitch` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.ThrowInstructionPREVIEW
  ClassFile API
  Models an `athrow` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.instruction.TypeCheckInstructionPREVIEW
  ClassFile API
  Models an `instanceof` or `checkcast` instruction in the `code` array of a `Code` attribute.
  java.lang.classfile.InterfacesPREVIEW
  ClassFile API
  Models the interfaces of a class.
  java.lang.classfile.LabelPREVIEW
  ClassFile API
  A marker for a position within the instructions of a method body.
  java.lang.classfile.MethodBuilderPREVIEW
  ClassFile API
  A builder for methods.
  java.lang.classfile.MethodElementPREVIEW
  ClassFile API
  A marker interface for elements that can appear when traversing a `MethodModel`PREVIEW or be presented to a `MethodBuilder`PREVIEW.
  java.lang.classfile.MethodModelPREVIEW
  ClassFile API
  Models a method.
  java.lang.classfile.MethodSignaturePREVIEW
  ClassFile API
  Models the generic signature of a method, as defined by 4.7.9.
  java.lang.classfile.MethodTransformPREVIEW
  ClassFile API
  A transformation on streams of `MethodElement`PREVIEW.
  java.lang.classfile.PseudoInstructionPREVIEW
  ClassFile API
  Models metadata about a `CodeAttribute`PREVIEW, such as entries in the exception table, line number table, local variable table, or the mapping between instructions and labels.
  java.lang.classfile.SignaturePREVIEW
  ClassFile API
  Models generic Java type signatures, as defined in 4.7.9.1.
  java.lang.classfile.Signature.ArrayTypeSigPREVIEW
  ClassFile API
  Models the signature of an array type.
  java.lang.classfile.Signature.BaseTypeSigPREVIEW
  ClassFile API
  Models the signature of a primitive type or void
  java.lang.classfile.Signature.ClassTypeSigPREVIEW
  ClassFile API
  Models the signature of a possibly-parameterized class or interface type.
  java.lang.classfile.Signature.RefTypeSigPREVIEW
  ClassFile API
  Models the signature of a reference type, which may be a class, interface, type variable, or array type.
  java.lang.classfile.Signature.ThrowableSigPREVIEW
  ClassFile API
  Models a signature for a throwable type.
  java.lang.classfile.Signature.TypeArgPREVIEW
  ClassFile API
  Models the type argument.
  java.lang.classfile.Signature.TypeParamPREVIEW
  ClassFile API
  Models a signature for a type parameter of a generic class or method.
  java.lang.classfile.Signature.TypeVarSigPREVIEW
  ClassFile API
  Models the signature of a type variable.
  java.lang.classfile.SuperclassPREVIEW
  ClassFile API
  Models the superclass of a class.
  java.lang.classfile.TypeAnnotationPREVIEW
  ClassFile API
  Models an annotation on a type use, as defined in 4.7.19 and 4.7.20.
  java.lang.classfile.TypeAnnotation.CatchTargetPREVIEW
  ClassFile API
  Indicates that an annotation appears on the i'th type in an exception parameter declaration.
  java.lang.classfile.TypeAnnotation.EmptyTargetPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.FormalParameterTargetPREVIEW
  ClassFile API
  Indicates that an annotation appears on the type in a formal parameter declaration of a method, constructor, or lambda expression.
  java.lang.classfile.TypeAnnotation.LocalVarTargetPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.LocalVarTargetInfoPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.OffsetTargetPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.SupertypeTargetPREVIEW
  ClassFile API
  Indicates that an annotation appears on a type in the extends or implements clause of a class or interface declaration.
  java.lang.classfile.TypeAnnotation.TargetInfoPREVIEW
  ClassFile API
  Specifies which type in a declaration or expression is being annotated.
  java.lang.classfile.TypeAnnotation.ThrowsTargetPREVIEW
  ClassFile API
  Indicates that an annotation appears on the i'th type in the throws clause of a method or constructor declaration.
  java.lang.classfile.TypeAnnotation.TypeArgumentTargetPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.TypeParameterBoundTargetPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.TypeParameterTargetPREVIEW
  ClassFile API
  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.
  java.lang.classfile.TypeAnnotation.TypePathComponentPREVIEW
  ClassFile API
  JVMS: Type_path structure identifies which part of the type is annotated, as defined in 4.7.20.2
  java.lang.classfile.WritableElementPREVIEW
  ClassFile API
  A classfile element that can encode itself as a stream of bytes in the encoding expected by the classfile format.
  java.lang.StringTemplatePREVIEW
  String Templates
  `StringTemplate`PREVIEW is the run-time representation of a string template or text block template in a template expression.
  java.lang.StringTemplate.ProcessorPREVIEW
  String Templates
  This interface describes the methods provided by a generalized string template processor.
  java.lang.StringTemplate.Processor.LinkagePREVIEW
  String Templates
  Built-in policies using this additional interface have the flexibility to specialize the composition of the templated string by returning a customized `MethodHandle` from `linkage`PREVIEW.
  java.util.concurrent.StructuredTaskScope.SubtaskPREVIEW
  Structured Concurrency
  Represents a subtask forked with `StructuredTaskScope.fork(Callable)`PREVIEW.
  java.util.stream.GathererPREVIEW
  Stream Gatherers
  An intermediate operation that transforms a stream of input elements into a stream of output elements, optionally applying a final action when the end of the upstream is reached.
  java.util.stream.Gatherer.DownstreamPREVIEW
  Stream Gatherers
  A Downstream object is the next stage in a pipeline of operations, to which elements can be sent.
  java.util.stream.Gatherer.IntegratorPREVIEW
  Stream Gatherers
  An Integrator receives elements and processes them, optionally using the supplied state, and optionally sends incremental results downstream.
  java.util.stream.Gatherer.Integrator.GreedyPREVIEW
  Stream Gatherers
  Greedy Integrators consume all their input, and may only relay that the downstream does not want more elements.

- Classes
  Class
  Preview Feature
  Description
  java.lang.classfile.AttributesPREVIEW
  ClassFile API
  Attribute mappers for standard classfile attributes.
  java.lang.classfile.components.ClassPrinterPREVIEW
  ClassFile API
  A printer of classfiles and its elements.
  java.lang.classfile.CustomAttributePREVIEW
  ClassFile API
  Models a non-standard attribute of a classfile.
  java.lang.runtime.TemplateRuntimePREVIEW
  String Templates
  Manages string template bootstrap methods.
  java.lang.ScopedValuePREVIEW
  Scoped Values
  A value that may be safely and efficiently shared to methods without using method parameters.
  java.lang.ScopedValue.CarrierPREVIEW
  Scoped Values
  A mapping of scoped values, as keys, to values.
  java.util.concurrent.StructuredTaskScopePREVIEW
  Structured Concurrency
  A basic API for structured concurrency.
  java.util.concurrent.StructuredTaskScope.ShutdownOnFailurePREVIEW
  Structured Concurrency
  A `StructuredTaskScope` that captures the exception of the first subtask to failPREVIEW.
  java.util.concurrent.StructuredTaskScope.ShutdownOnSuccessPREVIEW
  Structured Concurrency
  A `StructuredTaskScope` that captures the result of the first subtask to complete successfullyPREVIEW.
  java.util.FormatProcessorPREVIEW
  String Templates
  This `StringTemplate.Processor`PREVIEW constructs a `String` result using `Formatter` specifications and values found in the `StringTemplate`PREVIEW.
  java.util.stream.GatherersPREVIEW
  Stream Gatherers
  Implementations of `Gatherer`PREVIEW that provide useful intermediate operations, such as windowing functions, folding functions, transforming elements concurrently, etc.

- Enum Classes
  Enum Class
  Preview Feature
  Description
  java.lang.classfile.attribute.StackMapFrameInfo.SimpleVerificationTypeInfoPREVIEW
  ClassFile API
  A simple stack value.
  java.lang.classfile.AttributeMapper.AttributeStabilityPREVIEW
  ClassFile API
  Attribute stability indicator
  java.lang.classfile.ClassFile.AttributesProcessingOptionPREVIEW
  ClassFile API
  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.
  java.lang.classfile.ClassFile.ConstantPoolSharingOptionPREVIEW
  ClassFile API
  Option describing whether to preserve the original constant pool when transforming a classfile.
  java.lang.classfile.ClassFile.DeadCodeOptionPREVIEW
  ClassFile API
  Option describing whether to patch out unreachable code.
  java.lang.classfile.ClassFile.DeadLabelsOptionPREVIEW
  ClassFile API
  Option describing whether to filter unresolved labels.
  java.lang.classfile.ClassFile.DebugElementsOptionPREVIEW
  ClassFile API
  Option describing whether to process or discard debug elements.
  java.lang.classfile.ClassFile.LineNumbersOptionPREVIEW
  ClassFile API
  Option describing whether to process or discard line numbers.
  java.lang.classfile.ClassFile.ShortJumpsOptionPREVIEW
  ClassFile API
  Option describing whether to automatically rewrite short jumps to long when necessary.
  java.lang.classfile.ClassFile.StackMapsOptionPREVIEW
  ClassFile API
  Option describing whether to generate stackmaps.
  java.lang.classfile.components.ClassPrinter.VerbosityPREVIEW
  ClassFile API
  Level of detail to print or export.
  java.lang.classfile.OpcodePREVIEW
  ClassFile API
  Describes the opcodes of the JVM instruction set, as described in 6.5.
  java.lang.classfile.Opcode.KindPREVIEW
  ClassFile API
  Kinds of opcodes.
  java.lang.classfile.Signature.TypeArg.WildcardIndicatorPREVIEW
  ClassFile API
  Indicator for whether a wildcard has default bound, no bound, an upper bound, or a lower bound
  java.lang.classfile.TypeAnnotation.TargetTypePREVIEW
  ClassFile API
  The kind of target on which the annotation appears, as defined in 4.7.20.1.
  java.lang.classfile.TypeAnnotation.TypePathComponent.KindPREVIEW
  ClassFile API
  Type path kind, as defined in 4.7.20.2
  java.lang.classfile.TypeKindPREVIEW
  ClassFile API
  Describes the types that can be part of a field or method descriptor.
  java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
  Structured Concurrency
  Represents the state of a subtask.

- Exception Classes
  Exception Class
  Preview Feature
  Description
  java.lang.classfile.constantpool.ConstantPoolExceptionPREVIEW
  ClassFile API
  Thrown to indicate that requested entry cannot be obtained from the constant pool.
  java.util.concurrent.StructureViolationExceptionPREVIEW
  Structured Concurrency
  Thrown when a structure violation is detected.

- Fields
  Field
  Preview Feature
  Description
  java.lang.invoke.StringConcatFactory.MAX_INDY_CONCAT_ARG_SLOTSPREVIEW
  String Templates
  Maximum number of argument slots in String Concat call.

- Methods
  Method
  Preview Feature
  Description
  com.sun.source.tree.TreeVisitor.visitDerivedInstance(DerivedInstanceTree, P)PREVIEW
  Derived Record Creation
  Visits a `DerivedInstanceTree` node.
  com.sun.source.tree.TreeVisitor.visitStringTemplate(StringTemplateTree, P)PREVIEW
  String Templates
  Visits a StringTemplateTree node.
  com.sun.source.util.SimpleTreeVisitor.visitDerivedInstance(DerivedInstanceTree, P)PREVIEW
  Derived Record Creation
  Visits a `DerivedInstanceTree` node.
  com.sun.source.util.SimpleTreeVisitor.visitStringTemplate(StringTemplateTree, P)PREVIEW
  String Templates
  Visits a StringTemplateTree node.
  com.sun.source.util.TreeScanner.visitDerivedInstance(DerivedInstanceTree, P)PREVIEW
  Derived Record Creation
  Visits a `DerivedInstanceTree` node.
  com.sun.source.util.TreeScanner.visitStringTemplate(StringTemplateTree, P)PREVIEW
  String Templates
  Visits a StringTemplateTree node.
  java.lang.invoke.StringConcatFactory.makeConcatWithTemplate(List<String>, List<Class<?>>)PREVIEW
  String Templates
  Simplified concatenation method to facilitate `StringTemplate`PREVIEW concatenation.
  java.lang.invoke.StringConcatFactory.makeConcatWithTemplateCluster(List<String>, List<Class<?>>, int)PREVIEW
  String Templates
  This method breaks up large concatenations into separate `MethodHandles` based on the number of slots required per `MethodHandle`.
  java.lang.invoke.StringConcatFactory.makeConcatWithTemplateGetters(List<String>, List<MethodHandle>, int)PREVIEW
  String Templates
  This method creates a `MethodHandle` expecting one input, the receiver of the supplied getters.
  java.util.stream.Stream.gather(Gatherer<? super T, ?, R>)PREVIEW
  Stream Gatherers
  Returns a stream consisting of the results of applying the given `Gatherer`PREVIEW to the elements of this stream.

- Enum Constants
  Enum Constant
  Preview Feature
  Description
  com.sun.source.tree.Tree.Kind.DERIVED_INSTANCEPREVIEW
  Derived Record Creation
  Used for instances of `DerivedInstanceTree`PREVIEW.
  com.sun.source.tree.Tree.Kind.TEMPLATEPREVIEW
  String Templates
  Used for instances of `StringTemplateTree`PREVIEW.
  javax.lang.model.element.ElementKind.COMPONENT_LOCAL_VARIABLEPREVIEW
  Derived Record Creation
  A local component variable in a derived record creation expression.