Interface AmplifierMethod
public interface AmplifierMethod
Transforms a method to a parameterized client by a simple annotation
- Author:
- pchretien
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Executes the methods with args as a function
-
Method Details
-
invoke
Executes the methods with args as a function- Parameters:
method- the methodargs- the args- Returns:
- the result
-
getAnnotationType
Class<? extends Annotation> getAnnotationType()- Returns:
- the annotation that must be used to mark the methods
-