public class Type extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Type.OType
Generic representation of a type.
allowAssignmentFrom accepts any class, but Array.class means that the type accepts generic Arrays. |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Class<?>,Type.OType> |
TYPES_BY_CLASS |
| Constructor and Description |
|---|
Type() |
| Modifier and Type | Method and Description |
|---|---|
static Type.OType |
getTypeByClass(Class<?> iClass)
Return the correspondent type by checking the "assignability" of the
class received as parameter.
|
protected static final Map<Class<?>,Type.OType> TYPES_BY_CLASS
public static Type.OType getTypeByClass(Class<?> iClass)
iClass - Class to checkCopyright © 2017. All Rights Reserved.