public class JavaType extends AttributeSupport implements Type
| Constructor and Description |
|---|
JavaType(JavaKind kind,
String packageName,
String className,
boolean array,
boolean collection,
boolean concrete,
JavaType defaultImplementation,
JavaType superClass,
Set<JavaType> interfaces,
JavaType[] genericTypes,
Map<String,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getClassName() |
JavaType |
getDefaultImplementation() |
String |
getFullyQualifiedName()
Returns the fully qualified name of the type.
|
JavaType[] |
getGenericTypes() |
Set<JavaType> |
getInterfaces() |
JavaKind |
getKind() |
String |
getPackageName() |
String |
getSimpleName()
Returns the simple name of the type.
|
String |
getSimpleName(String suffix)
Returns the simple name of the type.
|
JavaType |
getSuperClass() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isAssignable(JavaType o) |
boolean |
isBoolean() |
boolean |
isCollection() |
boolean |
isConcrete() |
String |
toString() |
getAttributespublic String getFullyQualifiedName()
public String getSimpleName()
public String getSimpleName(String suffix)
public boolean isBoolean()
public JavaKind getKind()
public String getPackageName()
getPackageName in interface Typepublic String getClassName()
getClassName in interface Typepublic boolean isCollection()
isCollection in interface Typepublic boolean isConcrete()
isConcrete in interface Typepublic JavaType getDefaultImplementation()
getDefaultImplementation in interface Typepublic JavaType getSuperClass()
getSuperClass in interface Typepublic JavaType[] getGenericTypes()
getGenericTypes in interface Typepublic boolean isAssignable(JavaType o)
Copyright © 2016. All Rights Reserved.