org.apache.maven.doxia.validation.advices
Interface MethodBeforeAdvice
- AbstractSinkAdvice, HangingElementAdvice, PrintAdvisor
public interface MethodBeforeAdvice
Advice invoked before a method is invoked. Such advices cannot
prevent the method call proceeding, unless they throw a Throwable.
void | before(Method method, Object[] args, Object target)- Callback before a given method is invoked.
|
before
public void before(Method method,
Object[] args,
Object target)
throws Throwable Callback before a given method is invoked.
method - method being invokedargs - arguments to the methodtarget - target of the method invocation. May be null.