public class ReflectiveTypeFinder
extends java.lang.Object
Constructor and Description |
---|
ReflectiveTypeFinder(java.lang.String methodName,
int expectedNumberOfParameters,
int typedParameter) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canObtainExpectedTypeFrom(java.lang.reflect.Method method) |
protected java.lang.Class<?> |
expectedTypeFrom(java.lang.reflect.Method method) |
java.lang.Class<?> |
findExpectedType(java.lang.Class<?> fromClass) |
public ReflectiveTypeFinder(java.lang.String methodName, int expectedNumberOfParameters, int typedParameter)
public java.lang.Class<?> findExpectedType(java.lang.Class<?> fromClass)
protected boolean canObtainExpectedTypeFrom(java.lang.reflect.Method method)
method
- The method to examine.protected java.lang.Class<?> expectedTypeFrom(java.lang.reflect.Method method)
method
- The method from which to extract