com.jayway.awaitility.proxy
Class TypeUtils
java.lang.Object
com.jayway.awaitility.proxy.TypeUtils
public class TypeUtils
- extends Object
Utilities for types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeUtils
public TypeUtils()
getDefaultValue
public static Object getDefaultValue(Class<?> type)
- Get the default value for a type.
- Parameters:
type - The type whose default value to get.
- Returns:
- The default return type of
type.
getDefaultValue
public static Object getDefaultValue(String fullyQualifiedTypeName)
- Get the default value of a type with based on its fully-qualified name.
- Parameters:
fullyQualifiedTypeName - The name of the type whose default value to get.
- Returns:
- The default value of
fullyQualifiedTypeName.
Copyright © 2010-2012. All Rights Reserved.