Class MethodType
java.lang.Object
java.lang.invoke.MethodType
Deprecated
these classes are used internally for Lambda compatibility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendParameterTypes(Class<?>... a) appendParameterTypes(List<Class<?>> a) changeParameterType(int a, Class<?> b) changeReturnType(Class<?> a) dropParameterTypes(int a, int b) erase()generic()static MethodTypegenericMethodType(int a) static MethodTypegenericMethodType(int a, boolean b) booleanbooleaninsertParameterTypes(int a, Class<?>... b) insertParameterTypes(int a, List<Class<?>> b) static MethodTypemethodType(Class<?> a) static MethodTypemethodType(Class<?> a, Class<?> b) static MethodTypemethodType(Class<?> a, Class<?>[] b) static MethodTypemethodType(Class<?> a, Class<?> b, Class<?>... c) static MethodTypemethodType(Class<?> a, MethodType b) static MethodTypemethodType(Class<?> a, List<Class<?>> b) Class<?>[]intClass<?> parameterType(int a) Class<?> unwrap()wrap()
-
Constructor Details
-
MethodType
public MethodType()
-
-
Method Details
-
methodType
-
methodType
-
methodType
-
methodType
-
methodType
-
methodType
-
genericMethodType
-
genericMethodType
-
changeParameterType
-
insertParameterTypes
-
appendParameterTypes
-
insertParameterTypes
-
appendParameterTypes
-
dropParameterTypes
-
changeReturnType
-
hasPrimitives
public boolean hasPrimitives() -
hasWrappers
public boolean hasWrappers() -
erase
-
generic
-
wrap
-
unwrap
-
parameterType
-
parameterCount
public int parameterCount() -
returnType
-
parameterList
-
parameterArray
-