equal
deleted
inserted
replaced
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 } |