public class JsniMethodRef extends JMethodCall
Constructor and Description |
---|
JsniMethodRef(SourceInfo info,
String ident,
JMethod method,
JClassType jsoType) |
Modifier and Type | Method and Description |
---|---|
String |
getIdent() |
JClassType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
resolve(JMethod newMethod,
JClassType jsoType)
Resolve an external references during AST stitching.
|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
addArg, addArg, addArgs, addArgs, canBePolymorphic, getArgs, getInstance, getTarget, isStaticDispatchOnly, isVolatile, removeArg, resolve, setArg, setCannotBePolymorphic, setStaticDispatchOnly, setVolatile, visitChildren
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JsniMethodRef(SourceInfo info, String ident, JMethod method, JClassType jsoType)
public String getIdent()
public JClassType getType()
HasType
getType
in interface HasType
getType
in class JMethodCall
public boolean hasSideEffects()
hasSideEffects
in class JMethodCall
public void resolve(JMethod newMethod, JClassType jsoType)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
traverse
in interface JVisitable
traverse
in class JMethodCall
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.