Interface AmplifierMethod


public interface AmplifierMethod
Transforms a method to a parameterized client by a simple annotation
Author:
pchretien
  • Method Details

    • invoke

      Object invoke(Method method, Object[] args)
      Executes the methods with args as a function
      Parameters:
      method - the method
      args - the args
      Returns:
      the result
    • getAnnotationType

      Class<? extends Annotation> getAnnotationType()
      Returns:
      the annotation that must be used to mark the methods