Uses of Enum Class
java.lang.constant.DirectMethodHandleDesc.Kind
Package
Description
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.-
Uses of DirectMethodHandleDesc.Kind in java.lang.constant
Modifier and TypeMethodDescriptionDirectMethodHandleDesc.kind()
Returns thekind
of the method handle described by this nominal descriptor.static DirectMethodHandleDesc.Kind
DirectMethodHandleDesc.Kind.valueOf
(int refKind) Returns the enumeration member with the givenrefKind
field.static DirectMethodHandleDesc.Kind
DirectMethodHandleDesc.Kind.valueOf
(int refKind, boolean isInterface) Returns the enumeration member with the given therefKind
andisInterface
arguments.static DirectMethodHandleDesc.Kind
Returns the enum constant of this class with the specified name.static DirectMethodHandleDesc.Kind[]
DirectMethodHandleDesc.Kind.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic DirectMethodHandleDesc
MethodHandleDesc.of
(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String name, String lookupDescriptor) Creates a MethodHandleDesc corresponding to an invocation of a declared method, invocation of a constructor, or access to a field.static DirectMethodHandleDesc
MethodHandleDesc.ofField
(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String fieldName, ClassDesc fieldType) Creates a MethodHandleDesc corresponding to a method handle that accesses a field.static DirectMethodHandleDesc
MethodHandleDesc.ofMethod
(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String name, MethodTypeDesc lookupMethodType) Creates a MethodHandleDesc corresponding to an invocation of a declared method or constructor.