| Modifier and Type | Class and Description |
|---|---|
class |
BlockTemplate
Simplest implementation of ContentTemplate to write blocks of code
to the output (used for finally, final and static blockstatements)
|
class |
ExceptionTemplate
Template for creating a "} catch ([Exception] [ex]) {" statement in a template
|
class |
IfTemplate
Template for creating conditions and else statements in another
ContentTemplate
|
class |
LoopTemplate
Create a loop element in a method
A loop can either be
DO
WHILE
FOR
|
class |
MethodTemplate
Template for creating a Method in a class
|
class |
TryTemplate
Create a Try statement.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ContentTemplate> |
ClassTemplate.getMethods() |