public class JFieldWrapper extends JField
Constructor and Description |
---|
JFieldWrapper(java.lang.reflect.Field field,
JClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
JClass |
getDeclaringClass()
Returns the declaring type.
|
JType |
getGenericType()
Returns the return type.
|
java.lang.String |
getName()
Returns the field name.
|
JClass |
getType()
Returns the return type.
|
boolean |
isPrivate()
Returns true for a private field.
|
boolean |
isStatic()
Returns true for a static field.
|
boolean |
isTransient()
Returns true for a transient field.
|
equals, getReturnType, toString
getLine
getAnnotation, getAnnotation, getDeclaredAnnotations, isAnnotationPresent, isAnnotationPresent
public JFieldWrapper(java.lang.reflect.Field field, JClassLoader loader)
public java.lang.String getName()
public JClass getDeclaringClass()
getDeclaringClass
in class JField
public JType getGenericType()
getGenericType
in class JField
public boolean isStatic()
public boolean isPrivate()
public boolean isTransient()
isTransient
in class JField