T
- Type of the class that contains this field typeF
- Field type.public interface IField<T,F> extends IMember<T>
Modifier and Type | Field and Description |
---|---|
static String |
INTERNAL_NAME |
Modifier and Type | Method and Description |
---|---|
F |
get(T obj) |
Class<T> |
getDeclaringClass()
Returns the
Class object representing the class or interface that declares the
field represented by this Field object. |
int |
getModifiers()
Returns the Java language modifiers for the field represented by this
Field
object, as an integer. |
String |
getName()
Returns the name of the field represented by this
Field object. |
Class<F> |
getType()
Returns a
Class object that identifies the declared type for the field
represented by this Field object. |
void |
set(T obj,
F value) |
getMember, isAccessible, setAccessible
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresent
static final String INTERNAL_NAME
F get(T obj) throws IllegalArgumentException, IllegalAccessException
void set(T obj, F value) throws IllegalArgumentException, IllegalAccessException
String getName()
Field
object.Class<T> getDeclaringClass()
Class
object representing the class or interface that declares the
field represented by this Field
object.getDeclaringClass
in interface IMember<T>
int getModifiers()
Field
object, as an integer. The Modifier
class should be used to decode the
modifiers.getModifiers
in interface IMember<T>
Modifier
Copyright © GigaSpaces.