1 /* |
1 /* |
2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2013, 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 |
46 * |
46 * |
47 * @author Peter von der Ahé |
47 * @author Peter von der Ahé |
48 * @author Jonathan Gibbons |
48 * @author Jonathan Gibbons |
49 * @since 1.6 |
49 * @since 1.6 |
50 */ |
50 */ |
|
51 @jdk.Supported |
51 public interface NewClassTree extends ExpressionTree { |
52 public interface NewClassTree extends ExpressionTree { |
52 ExpressionTree getEnclosingExpression(); |
53 ExpressionTree getEnclosingExpression(); |
53 List<? extends Tree> getTypeArguments(); |
54 List<? extends Tree> getTypeArguments(); |
54 ExpressionTree getIdentifier(); |
55 ExpressionTree getIdentifier(); |
55 List<? extends ExpressionTree> getArguments(); |
56 List<? extends ExpressionTree> getArguments(); |