Logo Search packages:      
Sourcecode: jamvm version File versions

int java::lang::reflect::Field::getInt ( Object  o  )  throws IllegalAccessException [inline]

Get the value of this Field as an int. If the field is static, o will be ignored.

o the object to get the value of this Field from
the value of the Field
IllegalAccessException if you could not normally access this field (i.e. it is not public)
IllegalArgumentException if this is not a byte, short, char, or int field of o, or if o is not an instance of the declaring class of this field
NullPointerException if o is null and this field requires an instance
ExceptionInInitializerError if accessing a static field triggered class initialization, which then failed
See also:

Definition at line 342 of file Field.java.

        return getIField(o, declaringClass, type, slot, 5);

Generated by  Doxygen 1.6.0   Back to index