Uses of Enum Class
java.lang.classfile.TypeKind
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides specific components, transformations, and tools built on top of the
java.lang.classfilePREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfilePREVIEW library.Provides interfaces describing code instructions for the
java.lang.classfilePREVIEW library.-
Uses of TypeKindPREVIEW in java.lang.classfilePREVIEW
Subclasses with type arguments of type TypeKindPREVIEW in java.lang.classfilePREVIEWModifier and TypeClassDescriptionenumPreview.Describes the types that can be part of a field or method descriptor.Methods in java.lang.classfilePREVIEW that return TypeKindPREVIEWModifier and TypeMethodDescriptionTypeKind.asLoadable()Erase this type kind to the type which will be used for xLOAD, xSTORE, and xRETURN bytecodesTypeKind.from(TypeDescriptor.OfField<?> descriptor) Returns the type kind associated with the specified field descriptor.TypeKind.fromDescriptor(CharSequence s) Returns the type kind associated with the specified field descriptor.TypeKind.fromNewarrayCode(int newarrayCode) Returns the type kind associated with the array type described by the array code used as an operand tonewarray.Opcode.primaryTypeKind()Returns primary type kind for instructions operating with at least one type, or null otherwise.Opcode.secondaryTypeKind()Returns secondary type kind for instructions operating with two types, or null otherwise.Returns the enum constant of this class with the specified name.TypeKind.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in java.lang.classfilePREVIEW with parameters of type TypeKindPREVIEWModifier and TypeMethodDescriptionintCodeBuilder.allocateLocal(TypeKindPREVIEW typeKind) Returns the local variable slot of a fresh local variable.default CodeBuilderPREVIEWGenerate an instruction to load from an arraydefault CodeBuilderPREVIEWCodeBuilder.arrayStore(TypeKindPREVIEW tk) Generate an instruction to store into an arraydefault CodeBuilderPREVIEWCodeBuilder.conversion(TypeKindPREVIEW fromType, TypeKindPREVIEW toType) Generate instruction(s) to convertfromTypetotoTypedefault CodeBuilderPREVIEWGenerate an instruction to load a value from a local variabledefault CodeBuilderPREVIEWGenerate an instruction to create a new array of a primitive typedefault CodeBuilderPREVIEWGenerate return instructiondefault CodeBuilderPREVIEWCodeBuilder.storeLocal(TypeKindPREVIEW tk, int slot) Generate an instruction to store a value to a local variable -
Uses of TypeKindPREVIEW in java.lang.classfile.componentsPREVIEW
Methods in java.lang.classfile.componentsPREVIEW that return types with arguments of type TypeKindPREVIEWMethods in java.lang.classfile.componentsPREVIEW with parameters of type TypeKindPREVIEWModifier and TypeMethodDescriptionstatic CodeStackTrackerPREVIEWCreates new instance ofCodeStackTrackerPREVIEW initialized with provided stack items. -
Uses of TypeKindPREVIEW in java.lang.classfile.constantpoolPREVIEW
Methods in java.lang.classfile.constantpoolPREVIEW that return TypeKindPREVIEWModifier and TypeMethodDescriptionConstantDynamicEntry.typeKind()Returns the type of the constant.DoubleEntry.typeKind()Returns the type of the constant.FloatEntry.typeKind()Returns the type of the constant.IntegerEntry.typeKind()Returns the type of the constant.LoadableConstantEntry.typeKind()Returns the type of the constant.LongEntry.typeKind()Returns the type of the constant. -
Uses of TypeKindPREVIEW in java.lang.classfile.instructionPREVIEW
Methods in java.lang.classfile.instructionPREVIEW that return TypeKindPREVIEWModifier and TypeMethodDescriptionConvertInstruction.fromType()Returns the source type to convert from.ConvertInstruction.toType()Returns the destination type to convert to.ArrayLoadInstruction.typeKind()Returns the component type of the array.ArrayStoreInstruction.typeKind()Returns the component type of the array.ConstantInstruction.ArgumentConstantInstruction.typeKind()Returns the type of the constant.ConstantInstruction.IntrinsicConstantInstruction.typeKind()Returns the type of the constant.ConstantInstruction.LoadConstantInstruction.typeKind()Returns the type of the constant.ConstantInstruction.typeKind()Returns the type of the constant.LoadInstruction.typeKind()Returns the type of the value to be loaded.NewPrimitiveArrayInstruction.typeKind()Returns the component type of the array.OperatorInstruction.typeKind()Returns the operand type of the instruction.ReturnInstruction.typeKind()Returns the type of the return instruction.StoreInstruction.typeKind()Returns the type of the value to be stored.Methods in java.lang.classfile.instructionPREVIEW with parameters of type TypeKindPREVIEWModifier and TypeMethodDescriptionstatic ConvertInstructionPREVIEWReturns A conversion instruction.static LoadInstructionPREVIEWReturns a local variable load instruction.Returns a new primitive array instruction.static ReturnInstructionPREVIEWReturns a return instruction.static StoreInstructionPREVIEWReturns a local variable store instruction.