FileDocCategorySizeDatePackage
ParenthesizedTree.javaAPI DocJava SE 6 API776Tue Jun 10 00:23:26 BST 2008com.sun.source.tree

ParenthesizedTree.java

/*
 * @(#)ParenthesizedTree.java	1.2 05/11/17
 *
 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Use and Distribution is subject to the Java Research License available
 * at <http://wwws.sun.com/software/communitysource/jrl.html>.
 */

package com.sun.source.tree;

/**
 * A tree node for a parenthesized expression.  Note: parentheses
 * not be preserved by the parser.
 *
 * For example:
 * <pre>
 *   ( <em>expression</em> )
 * </pre>
 *
 * @see "The Java Language Specification, 3rd ed, section 15.8.5"
 *
 * @author Peter von der Ahé
 * @author Jonathan Gibbons
 * @since 1.6
 */
public interface ParenthesizedTree extends ExpressionTree {
    ExpressionTree getExpression();
}