Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java')
-rw-r--r--org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java74
1 files changed, 37 insertions, 37 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java
index a5d58f2299..06e8913fe1 100644
--- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java
+++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclaration.java
@@ -12,7 +12,7 @@
package org.eclipse.jdt.core.dom;
/**
- * Abstract base class of all AST node types that declare a single local
+ * Abstract base class of all AST node types that declare a single local
* variable.
* <p>
* <pre>
@@ -21,17 +21,17 @@ package org.eclipse.jdt.core.dom;
* VariableDeclarationFragment
* </pre>
* </p>
- *
+ *
* @see SingleVariableDeclaration
* @see VariableDeclarationFragment
* @since 2.0
*/
public abstract class VariableDeclaration extends ASTNode {
-
+
/**
* Returns structural property descriptor for the "extraDimensions" property
* of this node.
- *
+ *
* @return the property descriptor
* @since 3.1
*/
@@ -40,7 +40,7 @@ public abstract class VariableDeclaration extends ASTNode {
/**
* Returns structural property descriptor for the "extraDimensions" property
* of this node.
- *
+ *
* @return the property descriptor
* @since 3.1
*/
@@ -51,7 +51,7 @@ public abstract class VariableDeclaration extends ASTNode {
/**
* Returns structural property descriptor for the "initializer" property
* of this node.
- *
+ *
* @return the property descriptor
* @since 3.1
*/
@@ -60,7 +60,7 @@ public abstract class VariableDeclaration extends ASTNode {
/**
* Returns structural property descriptor for the "initializer" property
* of this node.
- *
+ *
* @return the property descriptor
* @since 3.1
*/
@@ -71,7 +71,7 @@ public abstract class VariableDeclaration extends ASTNode {
/**
* Returns structural property descriptor for the "name" property
* of this node.
- *
+ *
* @return the property descriptor
* @since 3.1
*/
@@ -80,7 +80,7 @@ public abstract class VariableDeclaration extends ASTNode {
/**
* Returns structural property descriptor for the "name" property
* of this node.
- *
+ *
* @return the property descriptor
* @since 3.1
*/
@@ -93,81 +93,81 @@ public abstract class VariableDeclaration extends ASTNode {
* <p>
* N.B. This constructor is package-private.
* </p>
- *
+ *
* @param ast the AST that is to own this node
*/
VariableDeclaration(AST ast) {
super(ast);
}
-
+
/**
* Returns the name of the variable declared in this variable declaration.
- *
+ *
* @return the variable name node
- */
+ */
public abstract SimpleName getName();
-
+
/**
- * Sets the name of the variable declared in this variable declaration
+ * Sets the name of the variable declared in this variable declaration
* to the given name.
- *
+ *
* @param variableName the new variable name
* @exception IllegalArgumentException if:
* <ul>
* <li>the node belongs to a different AST</li>
* <li>the node already has a parent</li>
* </ul>
- */
+ */
public abstract void setName(SimpleName variableName);
/**
- * Returns the number of extra array dimensions over and above the
+ * Returns the number of extra array dimensions over and above the
* explicitly-specified type.
* <p>
- * For example, <code>int x[][]</code> has a type of
- * <code>int</code> and two extra array dimensions;
+ * For example, <code>int x[][]</code> has a type of
+ * <code>int</code> and two extra array dimensions;
* <code>int[][] x</code> has a type of <code>int[][]</code>
* and zero extra array dimensions. The two constructs have different
* ASTs, even though there are really syntactic variants of the same
* variable declaration.
* </p>
- *
+ *
* @return the number of extra array dimensions
* @since 2.1
- */
+ */
public abstract int getExtraDimensions();
/**
- * Sets the number of extra array dimensions over and above the
+ * Sets the number of extra array dimensions over and above the
* explicitly-specified type.
* <p>
- * For example, <code>int x[][]</code> has a type of
- * <code>int</code> and two extra array dimensions;
+ * For example, <code>int x[][]</code> has a type of
+ * <code>int</code> and two extra array dimensions;
* <code>int[][] x</code> has a type of <code>int[][]</code>
* and zero extra array dimensions. The two constructs have different
* ASTs, even though there are really syntactic variants of the same
* variable declaration.
* </p>
- *
+ *
* @param dimensions the number of array dimensions
* @exception IllegalArgumentException if the number of dimensions is
* negative
* @since 2.1
- */
+ */
public abstract void setExtraDimensions(int dimensions);
/**
- * Returns the initializer of this variable declaration, or
+ * Returns the initializer of this variable declaration, or
* <code>null</code> if there is none.
- *
- * @return the initializer expression node, or <code>null</code> if
+ *
+ * @return the initializer expression node, or <code>null</code> if
* there is none
- */
+ */
public abstract Expression getInitializer();
-
+
/**
* Sets or clears the initializer of this variable declaration.
- *
+ *
* @param initializer the initializer expression node, or <code>null</code>
* if there is none
* @exception IllegalArgumentException if:
@@ -176,7 +176,7 @@ public abstract class VariableDeclaration extends ASTNode {
* <li>the node already has a parent</li>
* <li>a cycle in would be created</li>
* </ul>
- */
+ */
public abstract void setInitializer(Expression initializer);
/**
@@ -186,10 +186,10 @@ public abstract class VariableDeclaration extends ASTNode {
* Note that bindings are generally unavailable unless requested when the
* AST is being built.
* </p>
- *
- * @return the binding, or <code>null</code> if the binding cannot be
+ *
+ * @return the binding, or <code>null</code> if the binding cannot be
* resolved
- */
+ */
public IVariableBinding resolveBinding() {
return this.ast.getBindingResolver().resolveVariable(this);
}

Back to the top