Uses of Enum Class
java.lang.classfile.TypeKind
Packages that use TypeKind
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile constant pool entries for the
java.lang.classfile library.Provides interfaces describing code instructions for the
java.lang.classfile library.-
Uses of TypeKind in java.lang.classfile
Subclasses with type arguments of type TypeKind in java.lang.classfileModifier and TypeClassDescriptionenumDescribes the data types Java Virtual Machine operates on.Methods in java.lang.classfile that return TypeKindModifier and TypeMethodDescriptionTypeKind.asLoadable()static TypeKindTypeKind.from(TypeDescriptor.OfField<?> descriptor) Returns the type associated with the specified field descriptor.static TypeKindTypeKind.fromDescriptor(CharSequence s) Returns the type associated with the specified field descriptor.static TypeKindTypeKind.fromNewarrayCode(int newarrayCode) Returns the component type described by the array code used as an operand tonewarray.static TypeKindReturns the enum constant of this class with the specified name.static TypeKind[]TypeKind.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in java.lang.classfile with parameters of type TypeKindModifier and TypeMethodDescriptionintCodeBuilder.allocateLocal(TypeKind typeKind) Returns the local variable slot of a fresh local variable.default CodeBuilderGenerate an instruction to load from an arraydefault CodeBuilderCodeBuilder.arrayStore(TypeKind tk) Generate an instruction to store into an arraydefault CodeBuilderCodeBuilder.conversion(TypeKind fromType, TypeKind toType) Generate instruction(s) to convertfromTypetotoTypedefault CodeBuilderGenerate an instruction to load a value from a local variabledefault CodeBuilderGenerate an instruction to create a new array of a primitive typedefault CodeBuilderGenerate return instructiondefault CodeBuilderCodeBuilder.storeLocal(TypeKind tk, int slot) Generate an instruction to store a value to a local variable -
Uses of TypeKind in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool that return TypeKindModifier and TypeMethodDescriptiondefault TypeKindConstantDynamicEntry.typeKind()Returns the type of the constant.default TypeKindDoubleEntry.typeKind()Returns the type of the constant.default TypeKindFloatEntry.typeKind()Returns the type of the constant.default TypeKindIntegerEntry.typeKind()Returns the type of the constant.default TypeKindLoadableConstantEntry.typeKind()Returns the type of the constant.default TypeKindLongEntry.typeKind()Returns the type of the constant. -
Uses of TypeKind in java.lang.classfile.instruction
Methods in java.lang.classfile.instruction that return TypeKindModifier 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.default TypeKindConstantInstruction.ArgumentConstantInstruction.typeKind()Returns the type of the constant.default TypeKindConstantInstruction.IntrinsicConstantInstruction.typeKind()Returns the type of the constant.default TypeKindConstantInstruction.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.instruction with parameters of type TypeKindModifier and TypeMethodDescriptionstatic ConvertInstructionReturns A conversion instruction.static LoadInstructionReturns a local variable load instruction.static NewPrimitiveArrayInstructionReturns a new primitive array instruction.static ReturnInstructionReturns a return instruction.static StoreInstructionReturns a local variable store instruction.