Field

public class Field extends AccessibleObject
implements Member

Stub implementation of Field. The actual implementation is in Field.h and Field.m, so the declared fields in this class should match the actual fields implemented in order to catch unsupported API references.

See Also

Inherited Constant Summary

Public Constructor Summary

Field()

Public Method Summary

Object
get(Object o)
<T extends Annotation> T
getAnnotation(Class<T> annotationClass)
Returns this element's annotation for the specified type if such an annotation is present, else null.
boolean
byte
char
Annotation[]
getDeclaredAnnotations()
Returns annotations that are directly present on this element.
Class<?>
getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
double
float
Type
int
long
int
getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
String
getName()
Returns the simple name of the underlying member or constructor represented by this Member.
short
Class<?>
boolean
boolean
isSynthetic()
Returns true if this member was introduced by the compiler; returns false otherwise.
void
set(Object o, Object value)
void
setBoolean(Object o, boolean b)
void
setByte(Object o, byte b)
void
setChar(Object o, char c)
void
setDouble(Object o, double d)
void
setFloat(Object o, float f)
void
setInt(Object o, int i)
void
setLong(Object o, long l)
void
setShort(Object o, short s)
String

Inherited Method Summary