public abstract class ProxyOutputterBase extends Object implements ProxyOutputter
ProxyOutputter implementation.| Modifier and Type | Field and Description |
|---|---|
protected ClassCollection |
classCollection |
protected GinjectorInspector |
ginjectorInspector |
protected TreeLogger |
logger |
protected TypeOracle |
oracle |
protected PresenterInspector |
presenterInspector |
| Modifier and Type | Method and Description |
|---|---|
void |
findProxyEvents() |
void |
init(JClassType proxyInterface)
Initializes this proxy outputter given the specified proxy interface.
|
void |
initComposerFactory(com.google.gwt.user.rebind.ClassSourceFileComposerFactory composerFactory)
Initializes the composer factory, adding all the imports, setting the
implemented interfaces and extending the correct superclass.
|
void |
writeConstructor(com.google.gwt.user.rebind.SourceWriter writer,
String className,
boolean registerDelayedBind)
Write all the empty constructor of the proxy.
|
void |
writeFields(com.google.gwt.user.rebind.SourceWriter writer)
Write all the fields of the proxy.
|
void |
writeMethods(com.google.gwt.user.rebind.SourceWriter writer)
Write all the methods of the proxy, not including the constructor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteInnerClassesprotected final TypeOracle oracle
protected final TreeLogger logger
protected final ClassCollection classCollection
protected final GinjectorInspector ginjectorInspector
protected final PresenterInspector presenterInspector
public void init(JClassType proxyInterface) throws UnableToCompleteException
findProxyEvents() after that if you
want this outputter to forward any proxy event.UnableToCompleteExceptionpublic void findProxyEvents()
throws UnableToCompleteException
UnableToCompleteExceptionpublic void initComposerFactory(com.google.gwt.user.rebind.ClassSourceFileComposerFactory composerFactory)
ProxyOutputterinitComposerFactory in interface ProxyOutputtercomposerFactory - The composer factory used to generate to proxy.public final void writeFields(com.google.gwt.user.rebind.SourceWriter writer)
ProxyOutputterwriteFields in interface ProxyOutputterwriter - The SourceWriter.public final void writeConstructor(com.google.gwt.user.rebind.SourceWriter writer,
String className,
boolean registerDelayedBind)
ProxyOutputterwriteConstructor in interface ProxyOutputterwriter - The SourceWriter.className - The class name, which will be the name of the constructor method.registerDelayedBind - true if the constructor should register this class towards the
DelayedBindRegistry,
false otherwise.public final void writeMethods(com.google.gwt.user.rebind.SourceWriter writer)
throws UnableToCompleteException
ProxyOutputterwriteMethods in interface ProxyOutputterwriter - The SourceWriter.UnableToCompleteExceptionCopyright © 2010–2014 Arcbees. All rights reserved.