langtools/src/share/classes/com/sun/source/tree/MethodInvocationTree.java
changeset 25287 d2440361b323
parent 20612 4761f3ff7afb
equal deleted inserted replaced
25286:09b9113ad68a 25287:d2440361b323
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    43  * @author Jonathan Gibbons
    43  * @author Jonathan Gibbons
    44  * @since 1.6
    44  * @since 1.6
    45  */
    45  */
    46 @jdk.Exported
    46 @jdk.Exported
    47 public interface MethodInvocationTree extends ExpressionTree {
    47 public interface MethodInvocationTree extends ExpressionTree {
       
    48     /**
       
    49      * Returns the type arguments for this method invocation.
       
    50      * @return the type arguments
       
    51      */
    48     List<? extends Tree> getTypeArguments();
    52     List<? extends Tree> getTypeArguments();
       
    53 
       
    54     /**
       
    55      * Returns the expression identifying the method to be invoked.
       
    56      * @return the method selection expression
       
    57      */
    49     ExpressionTree getMethodSelect();
    58     ExpressionTree getMethodSelect();
       
    59 
       
    60     /**
       
    61      * Returns the arguments for the method invocation.
       
    62      * @return the arguments
       
    63      */
    50     List<? extends ExpressionTree> getArguments();
    64     List<? extends ExpressionTree> getArguments();
    51 }
    65 }