/******************************************************************************* * Copyright (c) 2005, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *******************************************************************************/ package org2.eclipse.dltk.ast.references; public class VariableReference extends SimpleReference { private VariableKind variableKind; public VariableReference(int start, int end, String name) { this(start, end, name, VariableKind.UNKNOWN); } public VariableReference(int start, int end, String name, VariableKind kind) { super(start, end, name); this.variableKind = kind; } public VariableKind getVariableKind() { return variableKind; } public void setVariableKind(VariableKind kind) { this.variableKind = kind; } }