* * *

|  [ **Overview** ](../../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/ReflectiveTypeFinder.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../../deprecated-list.html) |  [ **Index** ](../../../index-all.html) |  [ **Help** ](../../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../../org/hamcrest/internal/ArrayIterator.html "class in org.hamcrest.internal") [ **NEXT CLASS** ](../../../org/hamcrest/internal/SelfDescribingValue.html "class in org.hamcrest.internal") |  [ **FRAMES** ](../../../index.html?org/hamcrest/internal/ReflectiveTypeFinder.html) [ **NO FRAMES** ](ReflectiveTypeFinder.html) [ **All Classes** ](../../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *

##  org.hamcrest.internal  
Class ReflectiveTypeFinder

    
    
    java.lang.Object
      ![extended by ](../../../resources/inherit.gif)**org.hamcrest.internal.ReflectiveTypeFinder**
    

* * *
    
    
    public class **ReflectiveTypeFinder** extends java.lang.Object

* * *

**Constructor Summary**  
---  
` **[ ReflectiveTypeFinder
](../../../org/hamcrest/internal/ReflectiveTypeFinder.html#ReflectiveTypeFinder\(java.lang.String,
int, int\)) ** (java.lang.String methodName, int expectedNumberOfParameters,
int typedParameter) `  
  
**Method Summary**  
---  
` protected boolean ` |  ` **[ canObtainExpectedTypeFrom ](../../../org/hamcrest/internal/ReflectiveTypeFinder.html#canObtainExpectedTypeFrom\(java.lang.reflect.Method\)) ** (java.lang.reflect.Method method) `   
  
` protected java.lang.Class<?> ` |  ` **[ expectedTypeFrom ](../../../org/hamcrest/internal/ReflectiveTypeFinder.html#expectedTypeFrom\(java.lang.reflect.Method\)) ** (java.lang.reflect.Method method) `   
  
` java.lang.Class<?> ` |  ` **[ findExpectedType ](../../../org/hamcrest/internal/ReflectiveTypeFinder.html#findExpectedType\(java.lang.Class\)) ** (java.lang.Class<?> fromClass) `   
  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait `  
  
**Constructor Detail**  
---  
  
###  ReflectiveTypeFinder

    
    
    public **ReflectiveTypeFinder**(java.lang.String methodName,
                                int expectedNumberOfParameters,
                                int typedParameter)

**Method Detail**  
---  
  
###  findExpectedType

    
    
    public java.lang.Class<?> **findExpectedType**(java.lang.Class<?> fromClass)

    

* * *

###  canObtainExpectedTypeFrom

    
    
    protected boolean **canObtainExpectedTypeFrom**(java.lang.reflect.Method method)

    

**Parameters:**      ` method ` \- The method to examine.  **Returns:**
true if this method references the relevant type

* * *

###  expectedTypeFrom

    
    
    protected java.lang.Class<?> **expectedTypeFrom**(java.lang.reflect.Method method)

    

**Parameters:**      ` method ` \- The method from which to extract
**Returns:**      The type we're looking for

* * *

|  [ **Overview** ](../../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/ReflectiveTypeFinder.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../../deprecated-list.html) |  [ **Index** ](../../../index-all.html) |  [ **Help** ](../../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../../org/hamcrest/internal/ArrayIterator.html "class in org.hamcrest.internal") [ **NEXT CLASS** ](../../../org/hamcrest/internal/SelfDescribingValue.html "class in org.hamcrest.internal") |  [ **FRAMES** ](../../../index.html?org/hamcrest/internal/ReflectiveTypeFinder.html) [ **NO FRAMES** ](ReflectiveTypeFinder.html) [ **All Classes** ](../../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* *