| java.lang.Object com.google.gwt.dev.jjs.ast.JNode com.google.gwt.dev.jjs.ast.JExpression com.google.gwt.dev.jjs.ast.JMethodCall
All known Subclasses: com.google.gwt.dev.jjs.ast.js.JsniMethodRef,
JMethodCall | public class JMethodCall extends JExpression (Code) | | Java method call expression.
|
Constructor Summary | |
public | JMethodCall(JProgram program, SourceInfo info, JExpression instance, JMethod method) | public | JMethodCall(JProgram program, SourceInfo info, JExpression instance, JMethod method, JType overrideReturnType) Create a method call whose type is overridden to the specified type,
ignoring the return type of the target method. | public | JMethodCall(JProgram program, SourceInfo info, JExpression instance, JMethod method, boolean staticDispatchOnly) |
JMethodCall | public JMethodCall(JProgram program, SourceInfo info, JExpression instance, JMethod method, JType overrideReturnType)(Code) | | Create a method call whose type is overridden to the specified type,
ignoring the return type of the target method. This constructor is used
during normalizing transformations to preserve type semantics when calling
externally-defined compiler implementation methods.
For example, Cast.dynamicCast() returns Object but that method is used to
implement the cast operation. Using a stronger type on the call expression
allows us to preserve type information during the latter phases of
compilation.
|
canBePolymorphic | public boolean canBePolymorphic()(Code) | | |
hasSideEffects | public boolean hasSideEffects()(Code) | | |
isStaticDispatchOnly | public boolean isStaticDispatchOnly()(Code) | | |
setStaticDispatchOnly | public void setStaticDispatchOnly()(Code) | | |
|
|