Logo Search packages:      
Sourcecode: jamvm version File versions

long java::lang::reflect::Field::getLong ( Object  o  )  throws IllegalAccessException [inline]

Get the value of this Field as a long. 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, int, or long 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 364 of file Field.java.

        return getJField(o, declaringClass, type, slot, 7);

Generated by  Doxygen 1.6.0   Back to index