public class FieldTester extends java.lang.Object
Constructor and Description |
---|
FieldTester() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static java.lang.String |
spyFields(java.lang.Object obj)
Spies on the field names and values of an object.
|
public FieldTester()
public static void main(java.lang.String[] args) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.String spyFields(java.lang.Object obj) throws java.lang.IllegalAccessException
obj
- the object whose fields to formatjava.lang.IllegalAccessException