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, toStringgetLinegetAnnotation, getAnnotation, getDeclaredAnnotations, isAnnotationPresent, isAnnotationPresentpublic JFieldWrapper(java.lang.reflect.Field field,
JClassLoader loader)
public java.lang.String getName()
public JClass getDeclaringClass()
getDeclaringClass in class JFieldpublic JType getGenericType()
getGenericType in class JFieldpublic boolean isStatic()
public boolean isPrivate()
public boolean isTransient()
isTransient in class JField