org.codehaus.jparsec.examples.java.ast.expression
Class MethodCallExpression

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.expression.MethodCallExpression
All Implemented Interfaces:
Expression

public final class MethodCallExpression
extends ValueObject
implements Expression

Represents expressions like obj.f(...).

Author:
Ben Yu

Field Summary
 List<Expression> arguments
           
 String method
           
 Expression target
           
 List<TypeLiteral> typeParameters
           
 
Constructor Summary
MethodCallExpression(Expression target, List<TypeLiteral> typeParameters, String method, List<Expression> arguments)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

target

public final Expression target

typeParameters

public final List<TypeLiteral> typeParameters

method

public final String method

arguments

public final List<Expression> arguments
Constructor Detail

MethodCallExpression

public MethodCallExpression(Expression target,
                            List<TypeLiteral> typeParameters,
                            String method,
                            List<Expression> arguments)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.