public abstract class TypeInfo extends Object
Type that provides some additional methods and accessor caching.
Also, unlike Type this only represents the name of a class, it doesn't attempt to
represent primitive or array types or method descriptors.
| Constructor and Description |
|---|
TypeInfo() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
className() |
static TypeInfo |
create(Class<?> clazz) |
static TypeInfo |
create(String className) |
TypeInfo |
innerClass(String simpleName)
Returns a new
TypeInfo for an inner class of this class. |
abstract String |
internalName() |
abstract String |
simpleName() |
abstract org.objectweb.asm.Type |
type() |