public class ISMgr
extends java.lang.Object
Constructor and Description |
---|
ISMgr(java.lang.Object instance,
ReloadableType rtype) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue(ReloadableType rtype,
java.lang.Object instance,
java.lang.String name)
Get the value of a instance field - this will use 'any means necessary' to get to it.
|
void |
setValue(ReloadableType rtype,
java.lang.Object instance,
java.lang.Object value,
java.lang.String name)
Set the value of a field.
|
java.lang.String |
toString() |
public ISMgr(java.lang.Object instance, ReloadableType rtype)
public java.lang.Object getValue(ReloadableType rtype, java.lang.Object instance, java.lang.String name) throws java.lang.IllegalAccessException
rtype
- the reloadabletypeinstance
- the object instance on which the field is being accessed (whose type may not be that which declares the
field)name
- the name of the fieldjava.lang.IllegalAccessException
- if there is a problem accessing the fieldpublic void setValue(ReloadableType rtype, java.lang.Object instance, java.lang.Object value, java.lang.String name) throws java.lang.IllegalAccessException
rtype
- the reloadabletypeinstance
- the instance upon which to set the fieldvalue
- the value to put into the fieldname
- the name of the fieldjava.lang.IllegalAccessException
- if there is a problem setting the field valuepublic java.lang.String toString()
toString
in class java.lang.Object