Package net.bytebuddy.utility
Interface JavaConstant.MethodHandle.MethodType
-
- Enclosing class:
- JavaConstant.MethodHandle
@Proxied("java.lang.invoke.MethodType") protected static interface JavaConstant.MethodHandle.MethodType
A dispatcher to interact withjava.lang.invoke.MethodType
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>[]
parameterArray(java.lang.Object value)
Resolves a method type's parameter type.java.lang.Class<?>
returnType(java.lang.Object value)
Resolves a method type's return type.
-
-
-
Method Detail
-
returnType
java.lang.Class<?> returnType(java.lang.Object value)
Resolves a method type's return type.- Parameters:
value
- Thejava.lang.invoke.MethodType
to resolve.- Returns:
- The method type's return type.
-
parameterArray
java.lang.Class<?>[] parameterArray(java.lang.Object value)
Resolves a method type's parameter type.- Parameters:
value
- Thejava.lang.invoke.MethodType
to resolve.- Returns:
- The method type's parameter types.
-
-