01: package org.vraptor.component;
02:
03: import java.lang.reflect.Method;
04: import java.util.List;
05:
06: /**
07: * Instances of a class implementing this interface are capable of answering which method parameters this method contains.
08: * Typical implementations would return all method parameters with their respective names using reflection, conventions, configuration or asm.
09: * @author Guilherme Silveira
10: * @since 2.5.1
11: */
12: public interface ParameterInfoProvider {
13:
14: /**
15: * Returns a list with all method parameters for this method.
16: */
17: List<MethodParameter> provideFor(Method method);
18:
19: }
|