public class JRGroovyGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,JRField> |
fieldsMap |
protected Map<String,? extends JRParameter> |
parametersMap |
protected JRSourceCompileTask |
sourceTask |
protected JRVariable[] |
variables |
protected Map<String,JRVariable> |
variablesMap |
| Modifier | Constructor and Description |
|---|---|
protected |
JRGroovyGenerator(JRSourceCompileTask sourceTask) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateClass() |
static String |
generateClass(JRSourceCompileTask sourceTask) |
protected void |
generateClassStart(StringBuffer sb) |
protected void |
generateDeclarations(StringBuffer sb) |
protected void |
generateInitFieldsMethod(StringBuffer sb) |
protected void |
generateInitParamsMethod(StringBuffer sb) |
protected void |
generateInitVarsMethod(StringBuffer sb) |
protected String |
generateMethod(byte evaluationType,
List<JRExpression> expressionsList) |
protected final JRSourceCompileTask sourceTask
protected Map<String,? extends JRParameter> parametersMap
protected Map<String,JRVariable> variablesMap
protected JRVariable[] variables
protected JRGroovyGenerator(JRSourceCompileTask sourceTask)
public static String generateClass(JRSourceCompileTask sourceTask) throws JRException
JRExceptionprotected String generateClass() throws JRException
JRExceptionprotected final void generateClassStart(StringBuffer sb)
protected final void generateDeclarations(StringBuffer sb)
protected final void generateInitParamsMethod(StringBuffer sb) throws JRException
JRExceptionprotected final void generateInitFieldsMethod(StringBuffer sb) throws JRException
JRExceptionprotected final void generateInitVarsMethod(StringBuffer sb) throws JRException
JRExceptionprotected final String generateMethod(byte evaluationType, List<JRExpression> expressionsList) throws JRException
JRExceptionCopyright © 2014. All rights reserved.