Top Description Methods
com.sun.source.tree

public Interface MethodInvocationTree

extends ExpressionTree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCMethodInvocation
Imports
java.util.List

A tree node for a method invocation expression. For example:
  identifier ( arguments )

  this . typeArguments identifier ( arguments )
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6
Java Language Specification
15.12 Method Invocation Expressions

Method Summary

Modifier and TypeMethod and Description
public List<? extends ExpressionTree>

Returns:

the arguments
getArguments
()

Returns the arguments for the method invocation.

public ExpressionTree

Returns:

the method selection expression
getMethodSelect
()

Returns the expression identifying the method to be invoked.

public List<? extends Tree>

Returns:

the type arguments
getTypeArguments
()

Returns the type arguments for this method invocation.

Method Detail

getArgumentsback to summary
public List<? extends ExpressionTree> getArguments()

Returns the arguments for the method invocation.

Returns:List<? extends ExpressionTree>

the arguments

getMethodSelectback to summary
public ExpressionTree getMethodSelect()

Returns the expression identifying the method to be invoked.

Returns:ExpressionTree

the method selection expression

getTypeArgumentsback to summary
public List<? extends Tree> getTypeArguments()

Returns the type arguments for this method invocation.

Returns:List<? extends Tree>

the type arguments