public class ReflectionHelper
extends java.lang.Object
Class
,
Field
Constructor and Description |
---|
ReflectionHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
get(java.lang.String theClass,
java.lang.String theField)
Returns the
Object for the Field and
Class given as parameter. |
public static java.lang.Object get(java.lang.String theClass, java.lang.String theField)
Object
for the Field
and
Class
given as parameter.
Note, the caller is responsible for casting the return value to the correct type.
theClass
- The Class
for which to retrieve the
Field
.theField
- The Field
from which to retrieve the
value.Object
for the requested
Field
.