public final class ClassInfo extends Object implements ValueInfo, Comparable<ClassInfo>
Class
value.ValueInfo.Kind
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ClassInfo o) |
boolean |
equals(Object obj) |
ClassInfo |
getArrayType()
Returns the array type of this.
|
String |
getBinaryName()
Returns the binary name.
|
String |
getClassName()
Returns the fully qualified class name.
|
ValueInfo.Kind |
getKind()
Returns the type of this value.
|
String |
getName()
Returns the name.
|
String |
getObject()
Returns the value as
Object . |
String |
getSimpleName()
Returns the class simple name.
|
int |
hashCode() |
static ClassInfo |
of(Class<?> aClass)
Returns the class value.
|
static ClassInfo |
of(String name)
Returns a class value for the name.
|
String |
toString() |
public static ClassInfo of(String name)
name
- the class namepublic static ClassInfo of(Class<?> aClass)
aClass
- the target classpublic ValueInfo.Kind getKind()
ValueInfo
public String getObject()
ValueInfo
Object
.public String getName()
public String getClassName()
public String getBinaryName()
public String getSimpleName()
public ClassInfo getArrayType()
public int compareTo(ClassInfo o)
compareTo
in interface Comparable<ClassInfo>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.