public native getValue(target as Object) as Object
Returns the current value of the attribute on the given target object.
Non-public attributes require accessible = true.
| Parameter | Description |
|---|---|
target | Instance owning the reflected attribute. |
Current boxed value of the attribute.
attr = type(r).getAttribute("_numerator")
attr.accessible = true
assert attr.getValue(r) == 1