net.sf.jelly.apt.strategies
Class ConstructorDeclarationLoopStrategy<B extends TemplateBlock>

java.lang.Object
  extended by net.sf.jelly.apt.strategies.TemplateStrategyControl<B>
      extended by net.sf.jelly.apt.strategies.TemplateBlockStrategy<B>
          extended by net.sf.jelly.apt.strategies.TemplateLoopStrategy<D,B>
              extended by net.sf.jelly.apt.strategies.DeclarationLoopStrategy<D,B>
                  extended by net.sf.jelly.apt.strategies.AnnotationFilterableDeclarationLoopStrategy<M,B>
                      extended by net.sf.jelly.apt.strategies.MemberDeclarationLoopStrategy<E,B>
                          extended by net.sf.jelly.apt.strategies.ExecutableDeclarationLoopStrategy<com.sun.mirror.declaration.ConstructorDeclaration,B>
                              extended by net.sf.jelly.apt.strategies.ConstructorDeclarationLoopStrategy<B>
All Implemented Interfaces:
TemplateStrategy<B>

public class ConstructorDeclarationLoopStrategy<B extends TemplateBlock>
extends ExecutableDeclarationLoopStrategy<com.sun.mirror.declaration.ConstructorDeclaration,B>

Evaluates its body for all constructors of the specified type declaration. If the specified type declaration is an InterfaceDeclaration, there will be no constructors.

Author:
Ryan Heaton

Constructor Summary
ConstructorDeclarationLoopStrategy()
           
 
Method Summary
protected  java.util.Collection<com.sun.mirror.declaration.ConstructorDeclaration> getMemberDeclarations(com.sun.mirror.declaration.TypeDeclaration declaration)
          All the constructors of the given declaration declaration, or an empty list if the current declaration is an interface declaration.
 
Methods inherited from class net.sf.jelly.apt.strategies.ExecutableDeclarationLoopStrategy
getCurrentDeclaration
 
Methods inherited from class net.sf.jelly.apt.strategies.MemberDeclarationLoopStrategy
getAllDeclarationsToConsiderForAnnotationFiltering, getAnnotationProcessorEnvironment, getCurrentTypeDeclaration, getDeclaration, getSuperclassesMemberDeclarations, getSuperinterfacesMemberDeclarations, hidden, isIncludeSuperclasses, isIncludeSuperinterfaces, setDeclaration, setIncludeSuperclasses, setIncludeSuperinterfaces
 
Methods inherited from class net.sf.jelly.apt.strategies.AnnotationFilterableDeclarationLoopStrategy
getAnnotation, getAnnotationVar, getDeclarations, getExcludes, hasAnnotation, setAnnotation, setAnnotationVar, setExcludes, setupModelForLoop
 
Methods inherited from class net.sf.jelly.apt.strategies.DeclarationLoopStrategy
getIndexVar, getLoop, getVar, setIndexVar, setVar
 
Methods inherited from class net.sf.jelly.apt.strategies.TemplateLoopStrategy
preProcess, processBody
 
Methods inherited from class net.sf.jelly.apt.strategies.TemplateBlockStrategy
postProcess
 
Methods inherited from class net.sf.jelly.apt.strategies.TemplateStrategyControl
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorDeclarationLoopStrategy

public ConstructorDeclarationLoopStrategy()
Method Detail

getMemberDeclarations

protected java.util.Collection<com.sun.mirror.declaration.ConstructorDeclaration> getMemberDeclarations(com.sun.mirror.declaration.TypeDeclaration declaration)
All the constructors of the given declaration declaration, or an empty list if the current declaration is an interface declaration.

Specified by:
getMemberDeclarations in class MemberDeclarationLoopStrategy<com.sun.mirror.declaration.ConstructorDeclaration,B extends TemplateBlock>
Parameters:
declaration - The declaration.
Returns:
All the constructors of the current declaration declaration.