public class ClassDescription extends ReifiableTypeDescription
TypeDescription.TypeKindValueDescription.ValueKind| Constructor and Description |
|---|
ClassDescription(String name)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBinaryName()
Returns the binary name.
|
String |
getClassName()
Returns the fully qualified class name.
|
ClassDescription |
getErasure()
Returns the erasure of this type.
|
String |
getInternalName()
Returns the binary name.
|
String |
getName()
Returns the binary name.
|
String |
getPackageName()
Returns package name of the class.
|
String |
getSimpleName()
Returns the class simple name.
|
TypeDescription.TypeKind |
getTypeKind()
Returns the type kind.
|
int |
hashCode() |
static ClassDescription |
of(Class<?> aClass)
Returns an instance.
|
String |
toString() |
getValueKind, getValueTypepublic ClassDescription(String name)
name - the binary namepublic static ClassDescription of(Class<?> aClass)
aClass - the reflective objectpublic TypeDescription.TypeKind getTypeKind()
TypeDescriptionpublic ClassDescription getErasure()
TypeDescriptionpublic String getClassName()
public String getBinaryName()
public String getInternalName()
public String getName()
public String getSimpleName()
public String getPackageName()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.