public class ClassInfo extends Object
Constructor and Description |
---|
ClassInfo()
Create a new class info.
|
ClassInfo(Class<?> type)
Create a new class info.
|
ClassInfo(String typename)
Create a new class info.
|
ClassInfo(Type type)
Create a new class info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if object is equal to this.
|
String |
getGenericTypeName()
Get the generic type name.
|
Class<?> |
getType(ClassLoader cl)
Get the type.
|
Class<?> |
getType(ClassLoader cl,
String[] imports)
Get the type.
|
String |
getTypeName()
Get the type name.
|
static Map<Map<String,Long>,Integer> |
getVals() |
int |
hashCode()
Get the hashcode.
|
void |
setTheType(Class<?> type)
Set the type.
|
void |
setTypeName(String typename)
Set the name.
|
String |
toString()
Get the string representation.
|
public ClassInfo()
public ClassInfo(Class<?> type)
type
- The class info.public ClassInfo(Type type)
type
- The class info.public ClassInfo(String typename)
type
- The class info.public String getTypeName()
public void setTypeName(String typename)
name
- The name to set.public Class<?> getType(ClassLoader cl)
public Class<?> getType(ClassLoader cl, String[] imports)
public void setTheType(Class<?> type)
type
- The type to set.public String getGenericTypeName()
public boolean equals(Object obj)
public String toString()
Copyright © 2013. All Rights Reserved.