public class ReflectiveTypeFinder extends Object
Constructor and Description |
---|
ReflectiveTypeFinder(String methodName,
int expectedNumberOfParameters,
int typedParameter) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canObtainExpectedTypeFrom(Method method) |
protected Class<?> |
expectedTypeFrom(Method method) |
Class<?> |
findExpectedType(Class<?> fromClass) |
public ReflectiveTypeFinder(String methodName, int expectedNumberOfParameters, int typedParameter)
protected boolean canObtainExpectedTypeFrom(Method method)
method
- The method to examine.Copyright © 2016. All rights reserved.