Package net.bytebuddy.utility
Interface JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc
- All Superinterfaces:
JavaConstant.Simple.Dispatcher
- Enclosing interface:
JavaConstant.Simple.Dispatcher
@Proxied("java.lang.constant.DirectMethodHandleDesc")
public static interface JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc
extends JavaConstant.Simple.Dispatcher
A dispatcher to represent
java.lang.constant.DirectMethodHandleDesc.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA dispatcher to representjava.lang.constant.DirectMethodHandleDesc$Kind.Nested classes/interfaces inherited from interface net.bytebuddy.utility.JavaConstant.Simple.Dispatcher
JavaConstant.Simple.Dispatcher.OfClassDesc, JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc, JavaConstant.Simple.Dispatcher.OfMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfMethodTypeDesc -
Method Summary
Modifier and TypeMethodDescriptionlookupDescriptor(Object value) Resolves the lookup descriptor of the supplied direct method handle description.methodName(Object value) Resolves the method name of the supplied direct method handle.Resolves ajava.lang.constant.ClassDescrepresenting the owner of a direct method handle description.intResolves the type of method handle for the supplied method handle description.Methods inherited from interface net.bytebuddy.utility.JavaConstant.Simple.Dispatcher
isInstance, toArray
-
Method Details
-
refKind
Resolves the type of method handle for the supplied method handle description.- Parameters:
value- Thejava.lang.constant.DirectMethodHandleDescto resolve.- Returns:
- The type of the handle.
-
methodName
Resolves the method name of the supplied direct method handle.- Parameters:
value- Thejava.lang.constant.DirectMethodHandleDescto resolve.- Returns:
- The handle's method name.
-
owner
Resolves ajava.lang.constant.ClassDescrepresenting the owner of a direct method handle description.- Parameters:
value- Thejava.lang.constant.DirectMethodHandleDescto resolve.- Returns:
- A
java.lang.constant.ClassDescdescribing the handle's owner.
-
lookupDescriptor
Resolves the lookup descriptor of the supplied direct method handle description.- Parameters:
value- Thejava.lang.constant.DirectMethodHandleDescto resolve.- Returns:
- A descriptor of the supplied direct method handle's lookup.
-