Attempts to determine the "type" of a var on a scala object.
Attempts to determine the "type" of a var on a scala object.
TODO - figure out what to do with type erasure + generics...
The scala object
The name of the var @return The type of the var, or None if no var is found
This method will inject a value into a "var" on a scala object.
This method will inject a value into a "var" on a scala object.
The scala object
The name of the var
The value to inject