Uses of Enum Class
java.lang.classfile.TypeKind
Packages that use TypeKind
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing 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 CodeBuilderGenerates an instruction to load from an array.default CodeBuilderCodeBuilder.arrayStore(TypeKind tk) Generates an instruction to store into an array.default CodeBuilderCodeBuilder.conversion(TypeKind fromType, TypeKind toType) Generates instruction(s) to convertfromTypetotoType.default CodeBuilderGenerates an instruction to load a value from a local variable.default CodeBuilderGenerates an instruction to create a new array of a primitive type.default CodeBuilderGenerates a return instruction.default CodeBuilderCodeBuilder.storeLocal(TypeKind tk, int slot) Generates 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 TypeKind -
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()default TypeKindConstantInstruction.IntrinsicConstantInstruction.typeKind()default TypeKindConstantInstruction.LoadConstantInstruction.typeKind()ConstantInstruction.typeKind()Returns the computational type of the constant.LoadInstruction.typeKind()Returns the computational 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 computational type, includingvoid, of the return instruction.StoreInstruction.typeKind()Returns the computational 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.