public class FieldInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
classname
The declaring class name.
|
protected java.lang.reflect.Field |
field
The field (cached).
|
protected java.lang.String |
name
The field name.
|
protected java.lang.String |
typename
The typename.
|
Constructor and Description |
---|
FieldInfo()
Create a new FieldInfo.
|
FieldInfo(java.lang.reflect.Field field)
Create a new FieldInfo.
|
FieldInfo(java.lang.String name,
java.lang.String classname)
Create a new FieldInfo.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Get the classname.
|
java.lang.reflect.Field |
getField(java.lang.ClassLoader cl) |
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getTypeName()
Get the typename.
|
void |
setClassName(java.lang.String classname)
Set the classname.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setTypeName(java.lang.String typename)
Set the typename.
|
protected java.lang.String name
protected java.lang.String classname
protected java.lang.String typename
protected java.lang.reflect.Field field
public FieldInfo()
public FieldInfo(java.lang.reflect.Field field)
public FieldInfo(java.lang.String name, java.lang.String classname)
public java.lang.reflect.Field getField(java.lang.ClassLoader cl)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getClassName()
public void setClassName(java.lang.String classname)
classname
- The classname to set.public java.lang.String getTypeName()
public void setTypeName(java.lang.String typename)
typename
- The typename to set.