public class AutoUiInjector extends Object implements com.google.gwt.dev.jjs.MagicMethodGenerator
public staticThis magic method will create a generated class that is much more efficient at runtime than what the default code does (via reflection). At present, sending non-class literals to this method is not supported. It can be supported by using reflection in Gwt, but it requires a lot of reflection which comes with a lot of overhead, and will not be supported unless there is a very compelling use case offered.> U makeUi(T model, Class extends T> uiOptions, Class uiType)
| Constructor and Description |
|---|
AutoUiInjector() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.dev.jjs.ast.JExpression |
injectMagic(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.dev.jjs.ast.JMethodCall methodCall,
com.google.gwt.dev.jjs.ast.JMethod enclosingMethod,
com.google.gwt.dev.jjs.ast.Context context,
com.google.gwt.dev.jjs.UnifyAstView ast) |
public com.google.gwt.dev.jjs.ast.JExpression injectMagic(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.dev.jjs.ast.JMethodCall methodCall,
com.google.gwt.dev.jjs.ast.JMethod enclosingMethod,
com.google.gwt.dev.jjs.ast.Context context,
com.google.gwt.dev.jjs.UnifyAstView ast)
throws com.google.gwt.core.ext.UnableToCompleteException
injectMagic in interface com.google.gwt.dev.jjs.MagicMethodGeneratorcom.google.gwt.core.ext.UnableToCompleteExceptionCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.