Package mockit.internal.util
Class DefaultValues
java.lang.Object
mockit.internal.util.DefaultValues
Provides default values for each type, typically used for returning default values according to method return types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
computeForArrayType
(String typeDesc) static Object
computeForReturnType
(String methodNameAndDesc) static Object
computeForType
(Class<?> type) static Object
computeForType
(String typeDesc) static <T> T
computeForWrapperType
(Type type) static Object
defaultValueForPrimitiveType
(Class<?> type) static String
getReturnTypeDesc
(String methodNameAndDesc)
-
Method Details
-
getReturnTypeDesc
-
computeForType
-
computeForArrayType
-
computeForType
-
defaultValueForPrimitiveType
-
computeForWrapperType
-
computeForReturnType
-