|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.rebind.AbstractSourceCreator
com.google.gwt.user.rebind.AbstractGeneratorClassCreator
public abstract class AbstractGeneratorClassCreator
Abstract functionality needed to create classes needed to supply generators.
| Constructor Summary | |
|---|---|
AbstractGeneratorClassCreator(SourceWriter writer,
JClassType targetClass)
Creates a new class creator, supplies a place to write the class, the interface to conform to, and the new name. |
|
| Method Summary | |
|---|---|
void |
emitClass(TreeLogger logger,
GwtLocale locale)
Emits the new class. |
static JMethod[] |
getAllInterfaceMethods(JClassType type)
Returns all interface methods associated with the given type. |
JClassType |
getTarget()
|
UnableToCompleteException |
logMissingResource(TreeLogger logger,
java.lang.String during,
AbstractResource.MissingResourceException e)
|
void |
register(JType returnType,
AbstractMethodCreator creator)
Registers a method creator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGeneratorClassCreator(SourceWriter writer,
JClassType targetClass)
writer - writertargetClass - class name| Method Detail |
|---|
public static JMethod[] getAllInterfaceMethods(JClassType type)
type - associated type
public void emitClass(TreeLogger logger,
GwtLocale locale)
throws UnableToCompleteException
logger - locale -
UnableToCompleteExceptionpublic JClassType getTarget()
public UnableToCompleteException logMissingResource(TreeLogger logger,
java.lang.String during,
AbstractResource.MissingResourceException e)
public void register(JType returnType,
AbstractMethodCreator creator)
returnType - return type that this creator handles.creator - creator to register
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||