- setInternalState
Set an array value of a field using reflection. This method will traverse the
super class hierarchy
- getInternalState
Get the value of a field using reflection. Use this method when you need to
specify in which class t
- invokeMethod
Invoke a private or inner class method without the need to specify the method
name. This is thus a m
- newInstance
Create a new instance of a class without invoking its constructor. No byte-code
manipulation is need
- getMethod
Convenience method to get a method from a class type without having to catch the
checked exceptions
- getFieldsAnnotatedWith
Get all fields annotated with a particular annotation. This method traverses the
class hierarchy whe
- getConstructor
Convenience method to get a (declared) constructor from a class type without
having to catch the che
- getField
Convenience method to get a field from a class type. The method will first try
to look for a declare
- getMethods
Get an array of Method's that matches the supplied list of method names. Both
instance and static me
- invokeConstructor
Invoke a constructor. Useful for testing classes with a private constructor.
- getType
- getFields
Get an array of Field's that matches the supplied list of field names.