|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.powermock.reflect.internal.TypeUtils
public class TypeUtils
Utilities for types.
Constructor Summary | |
---|---|
TypeUtils()
|
Method Summary | |
---|---|
static Object |
getDefaultValue(Class<?> type)
Get the default value for a type. |
static Object |
getDefaultValue(String fullyQualifiedTypeName)
Get the default value of a type with based on its fully-qualified name. |
static String |
getDefaultValueAsString(String fullyQualifiedTypeName)
Get the default value of a type with based on its fully-qualified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeUtils()
Method Detail |
---|
public static Object getDefaultValue(Class<?> type)
type
- The type whose default value to get.
type
.public static Object getDefaultValue(String fullyQualifiedTypeName)
fullyQualifiedTypeName
- The name of the type whose default value to get.
fullyQualifiedTypeName
.public static String getDefaultValueAsString(String fullyQualifiedTypeName)
fullyQualifiedTypeName
- The name of the type whose default value to get.
fullyQualifiedTypeName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |