public class GeneratedBlock extends GeneratedDeclaration implements GeneratedCode
| Constructor and Description |
|---|
GeneratedBlock(MetaClass enclosing,
int modifiers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(Format statement) |
void |
addStatement(String template,
Formattable... args) |
MetaClass |
getEnclosingClass() |
List<Format> |
getStatements() |
getModifiers, setModifiersaddAnnotation, addAnnotation, addAnnotation, addComment, getAnnotations, getComments, getRawComments, hasMetadataprotected final MetaClass enclosing
public GeneratedBlock(MetaClass enclosing, int modifiers)
public MetaClass getEnclosingClass()
public void addStatement(String template, Formattable... args)
addStatement in interface GeneratedCodepublic void addStatement(Format statement)
addStatement in interface GeneratedCodesee also the complete user documentation .