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.KindDirectMethodHandleDesc. kind()Returns thekindof the method handle described by this nominal descriptor.static DirectMethodHandleDesc.KindDirectMethodHandleDesc.Kind. valueOf(int refKind)Returns the enumeration member with the givenrefKindfield.static DirectMethodHandleDesc.KindDirectMethodHandleDesc.Kind. valueOf(int refKind, boolean isInterface)Returns the enumeration member with the given therefKindandisInterfacearguments.static DirectMethodHandleDesc.KindDirectMethodHandleDesc.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 DirectMethodHandleDescMethodHandleDesc. 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 DirectMethodHandleDescMethodHandleDesc. ofField(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String fieldName, ClassDesc fieldType)Creates a MethodHandleDesc corresponding to a method handle that accesses a field.static DirectMethodHandleDescMethodHandleDesc. ofMethod(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String name, MethodTypeDesc lookupMethodType)Creates a MethodHandleDesc corresponding to an invocation of a declared method or constructor.