Logo Search packages:      
Sourcecode: jamvm version File versions

byte java::lang::reflect::Field::getByte ( Object  o  )  throws IllegalAccessException [inline]

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

Parameters:
o the object to get the value of this Field from
Returns:
the value of the Field
Exceptions:
IllegalAccessException if you could not normally access this field (i.e. it is not public)
IllegalArgumentException if this is not a byte 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:
get(Object)

Definition at line 278 of file Field.java.

                                  {
        return getBField(o, declaringClass, type, slot, 2);
    }


Generated by  Doxygen 1.6.0   Back to index