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.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getType()
Get the type.
|
Class<?> |
getType(ClassLoader cl)
Get the type.
|
Class<?> |
getType(ClassLoader cl,
String[] imports)
Get the type.
|
String |
getTypeName()
Get the type name.
|
void |
setTheType(Class<?> type)
Set the type.
|
void |
setTypeName(String typename)
Set the name.
|
public ClassInfo()
public ClassInfo(Class<?> 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 Class<?> getType()
public void setTheType(Class<?> type)
type
- The type to set.Copyright © 2012. All Rights Reserved.