Package org.fest.reflect.innerclass
Class Invoker
java.lang.Object
org.fest.reflect.innerclass.Invoker
Understands how to obtain a reference to a static inner class.
- Since:
- 1.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
expectedInnerClassName
(String namespace) Class<?>
get()
Returns a reference to the static inner class with the specified name in the specified declaring class.(package private) static Invoker
newInvoker
(Class<?> declaringClass, String innerClassName)
-
Field Details
-
declaringClass
-
innerClassName
-
-
Constructor Details
-
Invoker
-
-
Method Details
-
newInvoker
-
get
Returns a reference to the static inner class with the specified name in the specified declaring class.- Returns:
- a reference to the static inner class with the specified name in the specified declaring class.
- Throws:
ReflectionError
- if the static inner class does not exist (since 1.2).
-
expectedInnerClassName
-