public final class TransformUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultValue(String type)
Returns the default value for a type.
|
static String |
getUnwrapperMethodName(String type)
For primitive types, returns the method on the wrapper type that converts back to the primitive.
|
static Class |
getWrapperType(Class type)
Returns the wrapper type for a given input type.
|
static String |
getWrapperTypeName(String type)
Returns the name of wrapper type for a given input type.
|
static boolean |
isPrimitive(String type)
Returns true if the specified type is a primitive type.
|
public static boolean isPrimitive(String type)
public static String getWrapperTypeName(String type)
type
- primitive type name, or fully qualified class namepublic static String getUnwrapperMethodName(String type)
type
- the primitive typepublic static Class getWrapperType(Class type)
type
- primitive or object typepublic static String getDefaultValue(String type)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.