Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/VariableDeclaration.java')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/VariableDeclaration.java60
1 files changed, 0 insertions, 60 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/VariableDeclaration.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/VariableDeclaration.java
deleted file mode 100644
index 10caa7f4836..00000000000
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/VariableDeclaration.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package org.eclipse.cdt.internal.core.model;
-
-/*
- * (c) Copyright IBM Corp. 2000, 2001.
- * All Rights Reserved.
- */
-
-import org.eclipse.cdt.core.model.ICElement;
-import org.eclipse.cdt.core.model.IVariableDeclaration;
-
-public class VariableDeclaration extends SourceManipulation implements IVariableDeclaration {
-
- public VariableDeclaration(ICElement parent, String name) {
- super(parent, name, CElement.C_VARIABLE_DECLARATION);
- }
-
- public VariableDeclaration(ICElement parent, String name, int type) {
- super(parent, name, type);
- }
-
- public String getTypeName() {
- return getVariableInfo().getTypeName();
- }
-
- public void setTypeName(String type) {
- getVariableInfo().setTypeString(type);
- }
-
- public boolean isConst() {
- return getVariableInfo().isConst();
- }
-
- public void setConst(boolean isConst) {
- getVariableInfo().setConst(isConst);
- }
-
- public boolean isVolatile() {
- return getVariableInfo().isVolatile();
- }
-
- public void setVolatile(boolean isVolatile) {
- getVariableInfo().setVolatile(isVolatile);
- }
-
- public boolean isStatic() {
- return getVariableInfo().isStatic();
- }
-
- public void setStatic(boolean isStatic) {
- getVariableInfo().setStatic(isStatic);
- }
-
- public VariableInfo getVariableInfo(){
- return (VariableInfo) getElementInfo();
- }
-
- protected CElementInfo createElementInfo () {
- return new VariableInfo(this);
- }
-}

Back to the top