ITypeHelper wraps ITypeHelper and delegates the
calls to it.
| Modifier and Type | Field and Description |
|---|---|
| private final TypeHelper | delegate
The |
| Access | Constructor and Description |
|---|---|
| public | GenericTypeHelper(TypeHelper
The delegate)TypeHelper that is wrapped by this one and all the calls are
delegated to itCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public IType | bigDecimal()
Implements org. |
| public IType | bigInteger()
Implements org. |
| public IType | booleanType()
Implements org. |
| public IType | byteType()
Implements org. |
| public IType | characterType()
Implements org. |
| public IType | collectionType()
Implements org. |
| public IType | convertPrimitive(Object
Type to possibly convert from the primitive into the class type)Implements org. |
| public IType | dateType()
Implements org. |
| public IType | doubleType()
Implements org. |
| public IType | enumType()
Implements org. |
| public IType | floatType()
Implements org. |
| public IType | getType(Class<?>
The Java type for which its external form will be returned type)Implements org. |
| public IType | getType(String
The fully qualified class name of the class to retrieve typeName)Implements org. |
| public IType | integerType()
Implements org. |
| public boolean | isBooleanType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isCollectionType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isDateType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isEnumType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isFloatingType(Object
The type to check it's assignability type)Implements org. Float, Double, float or double.
|
| public boolean | isIntegralType(Object
The type to check it's assignability type)Implements org. Integer, Long, int or float.
|
| public boolean | isMapType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isNumericType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isObjectType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isPrimitiveType(Object
The type to check it's assignability type)Implements org. |
| public boolean | isStringType(Object
The type to check it's assignability type)Implements org. String class.
|
| public IType | longType()
Implements org. |
| public IType | longType(Object
The;@link IType} to possibly convert type)Implements org. Long type.
|
| public IType | mapType()
Implements org. |
| public IType | numberType()
Implements org. |
| public IType | objectType()
Implements org. |
| public ITypeDeclaration | objectTypeDeclaration()
Implements org. Object
class.
|
| public IType | primitiveBoolean()
Implements org. |
| public IType | primitiveByte()
Implements org. |
| public IType | primitiveChar()
Implements org. |
| public IType | primitiveDouble()
Implements org. |
| public IType | primitiveFloat()
Implements org. |
| public IType | primitiveInteger()
Implements org. |
| public IType | primitiveLong()
Implements org. |
| public IType | primitiveShort()
Implements org. |
| public IType | shortType()
Implements org. |
| public IType | stringType()
Implements org. |
| public IType | timestampType()
Implements org. |
| public IType | toBooleanType(Object
The;@link IType} to possibly convert type)Implements org. Boolean
type.
|
| public IType | toByteType(Object
The;@link IType} to possibly convert type)Implements org. Byte
type.
|
| public IType | toDoubleType(Object
The;@link IType} to possibly convert type)Implements org. Double
type.
|
| public IType | toFloatType(Object
The;@link IType} to possibly convert type)Implements org. Float
type.
|
| public IType | toIntegerType(Object
The;@link IType} to possibly convert type)Implements org. Integer
type.
|
| public IType | toShortType(Object
The;@link IType} to possibly convert type)Implements org. Short
type.
|
| public IType | unknownType()
Implements org. |
| public ITypeDeclaration | unknownTypeDeclaration()
Implements org. |
| delegate | back to summary |
|---|---|
| private final TypeHelper delegate The | |
| GenericTypeHelper | back to summary |
|---|---|
| public GenericTypeHelper(TypeHelper delegate) Creates a new
| |
| bigDecimal | back to summary |
|---|---|
| public IType bigDecimal() Implements org. Doc from org. Retrieves the;@link IType} for;@link BigDecimal}. | |
| bigInteger | back to summary |
|---|---|
| public IType bigInteger() Implements org. Doc from org. Retrieves the;@link IType} for;@link BigInteger}. | |
| booleanType | back to summary |
|---|---|
| public IType booleanType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Boolean}. | |
| byteType | back to summary |
|---|---|
| public IType byteType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Byte}. | |
| characterType | back to summary |
|---|---|
| public IType characterType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Character}. | |
| collectionType | back to summary |
|---|---|
| public IType collectionType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Collection}. | |
| convertPrimitive | back to summary |
|---|---|
| public IType convertPrimitive(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's representing a primitive type, into the class of the same type. | |
| dateType | back to summary |
|---|---|
| public IType dateType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Date}. | |
| doubleType | back to summary |
|---|---|
| public IType doubleType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Double}. | |
| enumType | back to summary |
|---|---|
| public IType enumType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Enum}. | |
| floatType | back to summary |
|---|---|
| public IType floatType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Float}. | |
| getType | back to summary |
|---|---|
| public IType getType(Class<?> type) Implements org. Doc from org. Returns the;@link IType} of the given Java type. | |
| getType | back to summary |
|---|---|
| public IType getType(String typeName) Implements org. Doc from org. Retrieves the external class for the given fully qualified class name. | |
| integerType | back to summary |
|---|---|
| public IType integerType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Integer}. | |
| isBooleanType | back to summary |
|---|---|
| public boolean isBooleanType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is a;@link Boolean}. | |
| isCollectionType | back to summary |
|---|---|
| public boolean isCollectionType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is an instance of;@link Collection}. | |
| isDateType | back to summary |
|---|---|
| public boolean isDateType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is a;@link Date},;@link Timestamp} or ;@link Calendar}. | |
| isEnumType | back to summary |
|---|---|
| public boolean isEnumType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is an instance of;@link Enum}. | |
| isFloatingType | back to summary |
|---|---|
| public boolean isFloatingType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is an instance of a floating type, which is either
| |
| isIntegralType | back to summary |
|---|---|
| public boolean isIntegralType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is an instance of a floating type, which is either
| |
| isMapType | back to summary |
|---|---|
| public boolean isMapType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is an instance of;@link Map}. | |
| isNumericType | back to summary |
|---|---|
| public boolean isNumericType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is an instance of;@link Numeric}. | |
| isObjectType | back to summary |
|---|---|
| public boolean isObjectType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} is the external form of;@link Object}. | |
| isPrimitiveType | back to summary |
|---|---|
| public boolean isPrimitiveType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} represents a primitive type. | |
| isStringType | back to summary |
|---|---|
| public boolean isStringType(Object type) Implements org. Doc from org. Determines whether the given;@link IType} represents the | |
| longType | back to summary |
|---|---|
| public IType longType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Long}. | |
| longType | back to summary |
|---|---|
| public IType longType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive long, into the | |
| mapType | back to summary |
|---|---|
| public IType mapType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Map}. | |
| numberType | back to summary |
|---|---|
| public IType numberType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Number}. | |
| objectType | back to summary |
|---|---|
| public IType objectType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Object}. | |
| objectTypeDeclaration | back to summary |
|---|---|
| public ITypeDeclaration objectTypeDeclaration() Implements org. Doc from org. Returns the;@link Object } for the;@link IType} representing the
| |
| primitiveBoolean | back to summary |
|---|---|
| public IType primitiveBoolean() Implements org. Doc from org. Retrieves the;@link IType} for the primitive boolean. | |
| primitiveByte | back to summary |
|---|---|
| public IType primitiveByte() Implements org. Doc from org. Retrieves the;@link IType} for the primitive byte. | |
| primitiveChar | back to summary |
|---|---|
| public IType primitiveChar() Implements org. Doc from org. Retrieves the;@link IType} for the primitive char. | |
| primitiveDouble | back to summary |
|---|---|
| public IType primitiveDouble() Implements org. Doc from org. Retrieves the;@link IType} for the primitive double. | |
| primitiveFloat | back to summary |
|---|---|
| public IType primitiveFloat() Implements org. Doc from org. Retrieves the;@link IType} for the primitive float. | |
| primitiveInteger | back to summary |
|---|---|
| public IType primitiveInteger() Implements org. Doc from org. Retrieves the;@link IType} for the primitive int. | |
| primitiveLong | back to summary |
|---|---|
| public IType primitiveLong() Implements org. Doc from org. Retrieves the;@link IType} for the primitive long. | |
| primitiveShort | back to summary |
|---|---|
| public IType primitiveShort() Implements org. Doc from org. Retrieves the;@link IType} for the primitive short. | |
| shortType | back to summary |
|---|---|
| public IType shortType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Short}. | |
| stringType | back to summary |
|---|---|
| public IType stringType() Implements org. Doc from org. Retrieves the;@link IType} for;@link String}. | |
| timestampType | back to summary |
|---|---|
| public IType timestampType() Implements org. Doc from org. Retrieves the;@link IType} for;@link Timestamp}. | |
| toBooleanType | back to summary |
|---|---|
| public IType toBooleanType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive boolean, into the | |
| toByteType | back to summary |
|---|---|
| public IType toByteType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive byte, into the | |
| toDoubleType | back to summary |
|---|---|
| public IType toDoubleType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive double, into the | |
| toFloatType | back to summary |
|---|---|
| public IType toFloatType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive float, into the | |
| toIntegerType | back to summary |
|---|---|
| public IType toIntegerType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive int, into the | |
| toShortType | back to summary |
|---|---|
| public IType toShortType(Object type) Implements org. Doc from org. Converts the given;@link IType}, if it's the primitive short, into the | |
| unknownType | back to summary |
|---|---|
| public IType unknownType() Implements org. Doc from org. Retrieves the;@link IType} that represents an unknown type. | |
| unknownTypeDeclaration | back to summary |
|---|---|
| public ITypeDeclaration unknownTypeDeclaration() Implements org. Doc from org. Returns the;@link Object } for the;@link IType} representing an unknown type.
| |