com.google.gwt.user.rebind
Class AbstractMethodCreator

java.lang.Object
  extended by com.google.gwt.user.rebind.AbstractSourceCreator
      extended by com.google.gwt.user.rebind.AbstractMethodCreator

public abstract class AbstractMethodCreator
extends AbstractSourceCreator

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


Constructor Summary
AbstractMethodCreator(AbstractGeneratorClassCreator classCreator)
          Constructor for AbstractMethodCreator.
 
Method Summary
abstract  void createMethodFor(TreeLogger logger, JMethod targetMethod, java.lang.String key, AbstractResource.ResourceList resourceList, GwtLocale locale)
          Generate the method body for the target method.
 void println(java.lang.Object printMe)
          Prints to the current AbstractGeneratorClassCreator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMethodCreator

public AbstractMethodCreator(AbstractGeneratorClassCreator classCreator)
Constructor for AbstractMethodCreator.

Parameters:
classCreator -
Method Detail

createMethodFor

public abstract void createMethodFor(TreeLogger logger,
                                     JMethod targetMethod,
                                     java.lang.String key,
                                     AbstractResource.ResourceList resourceList,
                                     GwtLocale locale)
                              throws UnableToCompleteException
Generate the method body for the target method.

Parameters:
logger - TreeLogger for logging
targetMethod - Method
resourceList - base resource to use for lookup
Throws:
UnableToCompleteException

println

public void println(java.lang.Object printMe)
Prints to the current AbstractGeneratorClassCreator.

Parameters:
printMe - Object to print