
public abstract class AbstractMethodCreator extends AbstractSourceCreator
| Modifier and Type | Field and Description |
|---|---|
protected AbstractGeneratorClassCreator |
currentCreator
AbstractGeneratorClassCreator associated with the method currently in
process.
|
| Constructor and Description |
|---|
AbstractMethodCreator(AbstractGeneratorClassCreator classCreator)
Constructor for
AbstractMethodCreator. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
createMethodFor(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JMethod targetMethod,
String key,
AbstractResource.ResourceList resourceList,
GwtLocale locale)
Generate the method body for the target method.
|
protected void |
indent()
Indent subsequent lines.
|
protected void |
outdent()
Outdent subsequent lines.
|
protected void |
print(String printMe)
Prints to the current
AbstractGeneratorClassCreator. |
void |
println(Object printMe)
Prints to the current
AbstractGeneratorClassCreator. |
branch, error, error, error, getJavaObjectTypeFor, wrapprotected AbstractGeneratorClassCreator currentCreator
public AbstractMethodCreator(AbstractGeneratorClassCreator classCreator)
AbstractMethodCreator.classCreator - public abstract void createMethodFor(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JMethod targetMethod,
String key,
AbstractResource.ResourceList resourceList,
GwtLocale locale)
throws com.google.gwt.core.ext.UnableToCompleteException
logger - TreeLogger for loggingtargetMethod - MethodresourceList - resource list to use for this methodcom.google.gwt.core.ext.UnableToCompleteExceptionpublic void println(Object printMe)
AbstractGeneratorClassCreator.printMe - Object to printprotected void indent()
protected void outdent()
protected void print(String printMe)
AbstractGeneratorClassCreator.printMe - Copyright © 2016. All rights reserved.