Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » lang » reflect » [javadoc | source]
java.lang.reflect
public final class: Field [javadoc | source]
java.lang.Object
   java.lang.reflect.AccessibleObject
      java.lang.reflect.Field

All Implemented Interfaces:
    Member, AnnotatedElement

Fields inherited from java.lang.reflect.AccessibleObject:
reflectExporter,  isAccessible
Constructor:
 Field(Field f) 
    Copy constructor
    Parameters:
    f - original field
 Field(long id,
    Class clss,
    String name,
    String desc,
    int m) 
    Only VM should call this constructor. String parameters must be interned.
    api2vm:
Method from java.lang.reflect.Field Summary:
equals,   get,   getAnnotation,   getBoolean,   getByte,   getChar,   getDeclaredAnnotations,   getDeclaringClass,   getDouble,   getFloat,   getGenericType,   getId,   getInt,   getLong,   getModifiers,   getName,   getShort,   getSignature,   getType,   hashCode,   isEnumConstant,   isSynthetic,   set,   setBoolean,   setByte,   setChar,   setDouble,   setFloat,   setInt,   setLong,   setShort,   toGenericString,   toString
Methods from java.lang.reflect.AccessibleObject:
appendArrayGenericType,   appendArrayType,   appendArrayType,   appendGenericType,   appendSimpleType,   checkInvokationArguments,   checkObject,   getAnnotation,   getAnnotations,   getDeclaredAnnotations,   isAccessible,   isAnnotationPresent,   setAccessible,   setAccessible
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.lang.reflect.Field Detail:
 public boolean equals(Object obj) 
 public Object get(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public T getAnnotation(Class<T> annotationClass) 
 public boolean getBoolean(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public byte getByte(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public char getChar(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public Annotation[] getDeclaredAnnotations() 
 public Class<?> getDeclaringClass() 
 public double getDouble(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public float getFloat(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public Type getGenericType() throws GenericSignatureFormatError, TypeNotPresentException, MalformedParameterizedTypeException 
 long getId() 
    Called by VM to obtain this field's handle.
 public int getInt(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public long getLong(Object obj) throws IllegalArgumentException, IllegalAccessException 
 public int getModifiers() 
 public String getName() 
 public short getShort(Object obj) throws IllegalArgumentException, IllegalAccessException 
 String getSignature() 
    This method is used by serialization mechanism.
 public Class<?> getType() 
 public int hashCode() 
 public boolean isEnumConstant() 
 public boolean isSynthetic() 
 public  void set(Object obj,
    Object value) throws IllegalArgumentException, IllegalAccessException 
 public  void setBoolean(Object obj,
    boolean value) throws IllegalArgumentException, IllegalAccessException 
 public  void setByte(Object obj,
    byte value) throws IllegalArgumentException, IllegalAccessException 
 public  void setChar(Object obj,
    char value) throws IllegalArgumentException, IllegalAccessException 
 public  void setDouble(Object obj,
    double value) throws IllegalArgumentException, IllegalAccessException 
 public  void setFloat(Object obj,
    float value) throws IllegalArgumentException, IllegalAccessException 
 public  void setInt(Object obj,
    int value) throws IllegalArgumentException, IllegalAccessException 
 public  void setLong(Object obj,
    long value) throws IllegalArgumentException, IllegalAccessException 
 public  void setShort(Object obj,
    short value) throws IllegalArgumentException, IllegalAccessException 
 public String toGenericString() 
 public String toString()