Uses of Class
java.lang.constant.DirectMethodHandleDesc.Kind
Package | Description |
---|---|
java.lang.constant |
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
Methods in java.lang.constant that return DirectMethodHandleDesc.Kind Modifier and Type Method Description DirectMethodHandleDesc.Kind
DirectMethodHandleDesc. 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
DirectMethodHandleDesc.Kind. valueOf(String name)
Returns the enum constant of this type with the specified name.static DirectMethodHandleDesc.Kind[]
DirectMethodHandleDesc.Kind. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in java.lang.constant with parameters of type DirectMethodHandleDesc.Kind Modifier and Type Method Description static 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.