Logo Search packages:      
Sourcecode: jamvm version File versions

void java::lang::reflect::Field::setByte ( Object  o,
byte  value 
) throws IllegalAccessException [inline]

Set this byte Field. If the field is static, o will be ignored.

Parameters:
o the object to set this Field on
value the value to set this Field to
Exceptions:
IllegalAccessException if you could not normally access this field (i.e. it is not public)
IllegalArgumentException if this is not a byte, short, int, long, float, or double field, or if o is not an instance of the class declaring 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:
set(Object, Object)

Definition at line 503 of file Field.java.

                                                                          {
      setBField(o, declaringClass, type, slot, 2, value);
  }


Generated by  Doxygen 1.6.0   Back to index