1 11 12 package org.eclipse.jdt.core.dom; 13 14 29 public abstract class VariableDeclaration extends ASTNode { 30 31 38 abstract SimplePropertyDescriptor internalExtraDimensionsProperty(); 39 40 47 public final SimplePropertyDescriptor getExtraDimensionsProperty() { 48 return internalExtraDimensionsProperty(); 49 } 50 51 58 abstract ChildPropertyDescriptor internalInitializerProperty(); 59 60 67 public final ChildPropertyDescriptor getInitializerProperty() { 68 return internalInitializerProperty(); 69 } 70 71 78 abstract ChildPropertyDescriptor internalNameProperty(); 79 80 87 public final ChildPropertyDescriptor getNameProperty() { 88 return internalNameProperty(); 89 } 90 91 99 VariableDeclaration(AST ast) { 100 super(ast); 101 } 102 103 108 public abstract SimpleName getName(); 109 110 121 public abstract void setName(SimpleName variableName); 122 123 138 public abstract int getExtraDimensions(); 139 140 157 public abstract void setExtraDimensions(int dimensions); 158 159 166 public abstract Expression getInitializer(); 167 168 180 public abstract void setInitializer(Expression initializer); 181 182 193 public IVariableBinding resolveBinding() { 194 return this.ast.getBindingResolver().resolveVariable(this); 195 } 196 } 197 | Popular Tags |