Interface IField<T,F>
- Type Parameters:
T- Type of the class that contains this field typeF- Field type.
- All Superinterfaces:
AnnotatedElement,IMember<T>
- All Known Implementing Classes:
StandardField
Provides an abstraction over a field reflection.
- Author:
- Guy
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns theClassobject representing the class or interface that declares the field represented by thisFieldobject.intReturns the Java language modifiers for the field represented by thisFieldobject, as an integer.getName()Returns the name of the field represented by thisFieldobject.getType()Returns aClassobject that identifies the declared type for the field represented by thisFieldobject.voidMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresentMethods inherited from interface com.gigaspaces.internal.reflection.IMember
getMember, isAccessible, setAccessible
-
Field Details
-
INTERNAL_NAME
-
-
Method Details
-
get
-
set
-
getName
String getName()Returns the name of the field represented by thisFieldobject. -
getDeclaringClass
Returns theClassobject representing the class or interface that declares the field represented by thisFieldobject.- Specified by:
getDeclaringClassin interfaceIMember<T>- Returns:
- an object representing the declaring class of the underlying member
-
getModifiers
int getModifiers()Returns the Java language modifiers for the field represented by thisFieldobject, as an integer. TheModifierclass should be used to decode the modifiers.- Specified by:
getModifiersin interfaceIMember<T>- Returns:
- the Java language modifiers for the underlying member
- See Also:
-
getType
Returns aClassobject that identifies the declared type for the field represented by thisFieldobject.- Returns:
- a
Classobject identifying the declared type of the field represented by this object
-