public class PropertyTypeName extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyTypeName.BaseType |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Class<?>,PropertyTypeName.BaseType> |
BASE_PROPERTY_TYPES_BY_CLASS |
protected PropertyTypeName.BaseType |
baseType |
protected PropertyTypeName.BaseType |
genericBaseType |
protected String |
genericClassName |
protected boolean |
genericType |
| Constructor and Description |
|---|
PropertyTypeName(Method method) |
PropertyTypeName(String type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PropertyTypeName.BaseType |
getBaseType() |
static PropertyTypeName.BaseType |
getBaseTypeByClass(Class<?> clazz)
Return the correspondent type by checking the "assignability" of the
class received as parameter.
|
PropertyTypeName.BaseType |
getGenericBaseType() |
String |
getGenericClassName() |
String |
getType() |
int |
hashCode() |
boolean |
isGenericType() |
void |
setType(String type) |
String |
toString() |
protected static final Map<Class<?>,PropertyTypeName.BaseType> BASE_PROPERTY_TYPES_BY_CLASS
protected PropertyTypeName.BaseType baseType
protected boolean genericType
protected PropertyTypeName.BaseType genericBaseType
protected String genericClassName
public PropertyTypeName(String type)
public PropertyTypeName(Method method)
public static PropertyTypeName.BaseType getBaseTypeByClass(Class<?> clazz)
clazz - Class to checkpublic void setType(String type)
public String getType()
public PropertyTypeName.BaseType getBaseType()
public boolean isGenericType()
public PropertyTypeName.BaseType getGenericBaseType()
public String getGenericClassName()
Copyright © 2022. All Rights Reserved.