com.atlassian.confluence.velocity.introspection
Class MethodAnnotatorChain
java.lang.Object
com.atlassian.confluence.velocity.introspection.MethodAnnotatorChain
- All Implemented Interfaces:
- MethodAnnotator
public final class MethodAnnotatorChain
- extends Object
- implements MethodAnnotator
A method annotator that chains calls to a collection of other annotators
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodAnnotatorChain
public MethodAnnotatorChain(List<MethodAnnotator> annotators)
getAnnotationsForMethod
public Collection<Annotation> getAnnotationsForMethod(Method method)
- Description copied from interface:
MethodAnnotator
- Return a collection of annotations for a method
- Specified by:
getAnnotationsForMethod
in interface MethodAnnotator
- Parameters:
method
- Method to annotate
- Returns:
- A collection of annotations applicable for the method