You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
852 B
53 lines
852 B
/*
|
|
* 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 javax.lang.model.element.Name;
|
|
|
|
/**
|
|
* A tree node for a variable declaration.
|
|
*
|
|
* For example:
|
|
* <pre>
|
|
* <em>modifiers</em> <em>type</em> <em>name</em> <em>initializer</em> ;
|
|
* <em>modifiers</em> <em>type</em> <em>qualified-name</em>.this
|
|
* </pre>
|
|
*
|
|
* @jls sections 8.3 and 14.4
|
|
*
|
|
* @author Peter von der Ahé
|
|
* @author Jonathan Gibbons
|
|
* @since 1.6
|
|
*/
|
|
@jdk.Exported
|
|
public interface VariableTree extends StatementTree {
|
|
ModifiersTree getModifiers();
|
|
Name getName();
|
|
ExpressionTree getNameExpression();
|
|
Tree getType();
|
|
ExpressionTree getInitializer();
|
|
}
|