Interface JavaConstant.Simple.Dispatcher.OfMethodHandleDesc
- All Superinterfaces:
JavaConstant.Simple.Dispatcher
- Enclosing interface:
JavaConstant.Simple.Dispatcher
@Proxied("java.lang.constant.MethodHandleDesc")
public static interface JavaConstant.Simple.Dispatcher.OfMethodHandleDesc
extends JavaConstant.Simple.Dispatcher
A dispatcher to represent
java.lang.constant.MethodHandleDesc.-
Nested Class Summary
Nested classes/interfaces inherited from interface 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 TypeMethodDescriptioninvocationType(Object value) Resolves ajava.lang.constant.MethodTypeDescrepresenting the invocation type of the suppliedjava.lang.constant.DirectMethodHandleDesc.Resolves ajava.lang.constant.MethodHandleDesc.Methods inherited from interface JavaConstant.Simple.Dispatcher
isInstance, toArray
-
Method Details
-
of
@IsStatic Object of(@Proxied("java.lang.constant.DirectMethodHandleDesc$Kind") Object kind, @Proxied("java.lang.constant.ClassDesc") Object owner, String name, String descriptor) Resolves ajava.lang.constant.MethodHandleDesc.- Parameters:
kind- Thejava.lang.constant.DirectMethodHandleDesc$Kindof the resolved method handle description.owner- Thejava.lang.constant.ClassDescof the resolved method handle description's owner type.name- The name of the method handle to resolve.descriptor- A descriptor of the lookup type.- Returns:
- An
java.lang.constant.MethodTypeDescrepresenting the invocation type.
-
invocationType
Resolves ajava.lang.constant.MethodTypeDescrepresenting the invocation type of the suppliedjava.lang.constant.DirectMethodHandleDesc.- Parameters:
value- Thejava.lang.constant.DirectMethodHandleDescto resolve.- Returns:
- An
java.lang.constant.MethodTypeDescrepresenting the invocation type.
-