public abstract class

AbstractMethodCreator

extends AbstractSourceCreator
java.lang.Object
   ↳ com.google.gwt.user.rebind.AbstractSourceCreator
     ↳ com.google.gwt.user.rebind.AbstractMethodCreator
Known Direct Subclasses

Class Overview

Creates method factories depending upon the method type. Includes the core concrete implementations as package-protected classes to avoid cluttering up the package space.

Summary

Fields
protected AbstractGeneratorClassCreator currentCreator AbstractGeneratorClassCreator associated with the method currently in process.
Public Constructors
AbstractMethodCreator(AbstractGeneratorClassCreator classCreator)
Constructor for AbstractMethodCreator.
Public Methods
abstract void createMethodFor(TreeLogger logger, JMethod targetMethod, String key, AbstractResource.ResourceList resourceList, GwtLocale locale)
Generate the method body for the target method.
void println(Object printMe)
Prints to the current AbstractGeneratorClassCreator.
Protected Methods
void indent()
Indent subsequent lines.
void outdent()
Outdent subsequent lines.
void print(String printMe)
Prints to the current AbstractGeneratorClassCreator.
[Expand]
Inherited Methods
From class com.google.gwt.user.rebind.AbstractSourceCreator
From class java.lang.Object

Fields

protected AbstractGeneratorClassCreator currentCreator

AbstractGeneratorClassCreator associated with the method currently in process.

Public Constructors

public AbstractMethodCreator (AbstractGeneratorClassCreator classCreator)

Constructor for AbstractMethodCreator.

Public Methods

public abstract void createMethodFor (TreeLogger logger, JMethod targetMethod, String key, AbstractResource.ResourceList resourceList, GwtLocale locale)

Generate the method body for the target method.

Parameters
logger TreeLogger for logging
targetMethod Method
resourceList resource list to use for this method
Throws
UnableToCompleteException

public void println (Object printMe)

Prints to the current AbstractGeneratorClassCreator.

Parameters
printMe Object to print

Protected Methods

protected void indent ()

Indent subsequent lines.

protected void outdent ()

Outdent subsequent lines.

protected void print (String printMe)

Prints to the current AbstractGeneratorClassCreator.