jltools.ast
Interface Call
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, Node, Prefix, Receiver, java.io.Serializable, Typed
- All Known Implementing Classes:
- Call_c
- public interface Call
- extends Expr
A Call
is an immutable representation of a Java
method call. It consists of a method name and a list of arguments.
It may also have either a Type upon which the method is being
called or an expression upon which the method is being called.
Methods inherited from interface jltools.ast.Node |
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren |
Methods inherited from interface jltools.ast.Typed |
type |
target
public Receiver target()
target
public Call target(Receiver target)
name
public java.lang.String name()
name
public Call name(java.lang.String name)
arguments
public java.util.List arguments()
arguments
public Call arguments(java.util.List arguments)
methodInstance
public MethodInstance methodInstance()
methodInstance
public Call methodInstance(MethodInstance mi)