com.atlassian.confluence.velocity.introspection
Class MethodAnnotatorChain

java.lang.Object
  extended by 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


Constructor Summary
MethodAnnotatorChain(List<MethodAnnotator> annotators)
           
 
Method Summary
 Collection<Annotation> getAnnotationsForMethod(Method method)
          Return a collection of annotations for a method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodAnnotatorChain

public MethodAnnotatorChain(List<MethodAnnotator> annotators)
Method Detail

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


Copyright © 2003–2015 Atlassian. All rights reserved.