Package net.bytebuddy.utility
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 representjava.lang.constant.MethodHandleDesc.
-
-
Nested Class Summary
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectinvocationType(java.lang.Object value)Resolves ajava.lang.constant.MethodTypeDescrepresenting the invocation type of the suppliedjava.lang.constant.DirectMethodHandleDesc.java.lang.Objectof(java.lang.Object kind, java.lang.Object owner, java.lang.String name, java.lang.String descriptor)Resolves ajava.lang.constant.MethodHandleDesc.-
Methods inherited from interface net.bytebuddy.utility.JavaConstant.Simple.Dispatcher
isInstance, toArray
-
-
-
-
Method Detail
-
of
@IsStatic java.lang.Object of(@Proxied("java.lang.constant.DirectMethodHandleDesc$Kind") java.lang.Object kind, @Proxied("java.lang.constant.ClassDesc") java.lang.Object owner, java.lang.String name, java.lang.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
java.lang.Object invocationType(java.lang.Object value)
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.
-
-