/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.source.tree; import java.util.List; /** * A tree node to declare a new instance of a class. * * For example: *
 *   new identifier ( )
 *
 *   new identifier ( arguments )
 *
 *   new typeArguments identifier ( arguments )
 *       classBody
 *
 *   enclosingExpression.new identifier ( arguments )
 * 
* * @jls section 15.9 * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */ @jdk.Exported public interface NewClassTree extends ExpressionTree { ExpressionTree getEnclosingExpression(); List getTypeArguments(); ExpressionTree getIdentifier(); List getArguments(); ClassTree getClassBody(); }