r01f.reflection.fluent
Class StaticInnerClassInvoker

java.lang.Object
  extended by r01f.reflection.fluent.StaticInnerClassInvoker

public class StaticInnerClassInvoker
extends java.lang.Object

Understands how to obtain a reference to a static inner class.


Field Summary
private  java.lang.Class<?> _declaringClass
           
private  java.lang.String _innerClassName
           
 
Constructor Summary
private StaticInnerClassInvoker(java.lang.Class<?> declaringClass, java.lang.String innerClassName)
           
 
Method Summary
private  java.lang.String _expectedInnerClassName(java.lang.String namespace)
           
 java.lang.Class<?> get()
          Returns a reference to the static inner class with the specified name in the specified declaring class.
(package private) static StaticInnerClassInvoker newInvoker(java.lang.Class<?> declaringClass, java.lang.String innerClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_declaringClass

private final java.lang.Class<?> _declaringClass

_innerClassName

private final java.lang.String _innerClassName
Constructor Detail

StaticInnerClassInvoker

private StaticInnerClassInvoker(java.lang.Class<?> declaringClass,
                                java.lang.String innerClassName)
Method Detail

newInvoker

static StaticInnerClassInvoker newInvoker(java.lang.Class<?> declaringClass,
                                          java.lang.String innerClassName)

get

public java.lang.Class<?> 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

private java.lang.String _expectedInnerClassName(java.lang.String namespace)