-
Methods in java.lang that throw IllegalAccessException
| Modifier and Type |
Method |
Description |
T |
Class.newInstance() |
Returns a new instance of the class represented by this Class,
created by invoking the default (that is, zero-argument) constructor.
|
-
Methods in java.lang.reflect that throw IllegalAccessException
| Modifier and Type |
Method |
Description |
Object |
Field.get(Object object) |
Returns the value of the field in the specified object.
|
boolean |
Field.getBoolean(Object object) |
Returns the value of the field in the specified object as a
boolean.
|
byte |
Field.getByte(Object object) |
Returns the value of the field in the specified object as a byte.
|
char |
Field.getChar(Object object) |
Returns the value of the field in the specified object as a char.
|
double |
Field.getDouble(Object object) |
Returns the value of the field in the specified object as a
double.
|
float |
Field.getFloat(Object object) |
Returns the value of the field in the specified object as a float.
|
int |
Field.getInt(Object object) |
Returns the value of the field in the specified object as an int.
|
long |
Field.getLong(Object object) |
Returns the value of the field in the specified object as a long.
|
short |
Field.getShort(Object object) |
Returns the value of the field in the specified object as a short
.
|
Object |
Method.invoke(Object receiver,
Object... args) |
Returns the result of dynamically invoking this method.
|
T |
Constructor.newInstance(Object... args) |
Returns a new instance of the declaring class, initialized by dynamically
invoking the constructor represented by this Constructor object.
|
void |
Field.set(Object object,
Object value) |
Sets the value of the field in the specified object to the value.
|
void |
Field.setBoolean(Object object,
boolean value) |
Sets the value of the field in the specified object to the
boolean value.
|
void |
Field.setByte(Object object,
byte value) |
Sets the value of the field in the specified object to the byte
value.
|
void |
Field.setChar(Object object,
char value) |
Sets the value of the field in the specified object to the char
value.
|
void |
Field.setDouble(Object object,
double value) |
Sets the value of the field in the specified object to the double
value.
|
void |
Field.setFloat(Object object,
float value) |
Sets the value of the field in the specified object to the float
value.
|
void |
Field.setInt(Object object,
int value) |
Set the value of the field in the specified object to the int
value.
|
void |
Field.setLong(Object object,
long value) |
Sets the value of the field in the specified object to the long
value.
|
void |
Field.setShort(Object object,
short value) |
Sets the value of the field in the specified object to the short
value.
|
-
-