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.


Method Summary
 java.util.List arguments()
           
 Call arguments(java.util.List arguments)
           
 MethodInstance methodInstance()
           
 Call methodInstance(MethodInstance mi)
           
 java.lang.String name()
           
 Call name(java.lang.String name)
           
 Receiver target()
           
 Call target(Receiver target)
           
 
Methods inherited from interface jltools.ast.Expr
precedence, type
 
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
 

Method Detail

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)