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 ObjectcomputeForArrayType(String typeDesc) static ObjectcomputeForReturnType(String methodNameAndDesc) static ObjectcomputeForType(Class<?> type) static ObjectcomputeForType(String typeDesc) static <T> TcomputeForWrapperType(Type type) static ObjectdefaultValueForPrimitiveType(Class<?> type) static StringgetReturnTypeDesc(String methodNameAndDesc)
-
Method Details
-
getReturnTypeDesc
-
computeForType
-
computeForArrayType
-
computeForType
-
defaultValueForPrimitiveType
-
computeForWrapperType
-
computeForReturnType
-