org.jboss.errai.bus.server.util
Interface RebindVisitor
public interface RebindVisitor
The RebindVisitor offers a template for searching and rebinds the class if certain annotations are present.
This visitor class separation gives the ability to add new operations to existing object structures without
modifying those structures
Method Summary |
void |
visit(com.google.gwt.core.ext.typeinfo.JClassType visit,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter writer)
Visits the specified class and rebinds it according to the annotations present |
void |
visitError(String className,
Throwable t)
|
visit
void visit(com.google.gwt.core.ext.typeinfo.JClassType visit,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter writer)
- Visits the specified class and rebinds it according to the annotations present
- Parameters:
visit
- - the class to be visitedcontext
- - provides metadata to deferred binding generatorslogger
- - log messages in deferred binding generatorswriter
- - supports the source file regeneration
visitError
void visitError(String className,
Throwable t)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.