# Articles

<document> <properties> Maven </properties>

#foreach ($class in $docInfo.classes) #set ($classTodosCount = $class.getTags($jellyContext.taskTag).size() ) #set ($methodTodosCount = 0) #foreach ($m in $class.methods) #set ($methodTodoTags = $m.getTags($jellyContext.taskTag)) #if ($methodTodoTags.size() > 0) #set ($methodTodosCount = $methodTodosCount + 1 ) #end #end #if ($classTodosCount > 0 || $methodTodosCount > 0)
Class | Class Todos Count | Method with Todos
--- | --- | ---
$class.name | #if ($classTodosCount > 0) $classTodosCount #else 0 #end | #if ($methodTodosCount > 0) $methodTodosCount #else 0 #end
#end #end

#foreach ($class in $docInfo.classes) #set ($todoTags = $class.getTags($jellyContext.taskTag)) #set ($hasToDoMethod = false) #foreach ($m in $class.methods) #set ($methodTodoTags = $m.getTags($jellyContext.taskTag)) #if ($methodTodoTags.size() > 0) #set ($hasToDoMethod = true) #end #end #if ($todoTags.size() > 0 || $hasToDoMethod) #if ($todoTags.size() > 0)

#foreach ($tag in $todoTags)
Class Todos
#end

#end #foreach ($m in $class.methods) #set ($methodTodoTags = $m.getTags($jellyContext.taskTag)) #if ($methodTodoTags.size() > 0)

#foreach ($tag in $methodTodoTags)
Method Todos
#end

#end #end #end #end
</document>