diff options
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/code/flow/LocalFlowInfo.java')
-rw-r--r-- | bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/code/flow/LocalFlowInfo.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/code/flow/LocalFlowInfo.java b/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/code/flow/LocalFlowInfo.java deleted file mode 100644 index b6f63170..00000000 --- a/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/code/flow/LocalFlowInfo.java +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 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 - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.jsdt.internal.corext.refactoring.code.flow; - -import org.eclipse.wst.jsdt.core.dom.IVariableBinding; - -class LocalFlowInfo extends FlowInfo { - - private int fVariableId; - - public LocalFlowInfo(IVariableBinding binding, int localAccessMode, FlowContext context) { - super(NO_RETURN); - fVariableId= binding.getVariableId(); - if (context.considerAccessMode()) { - createAccessModeArray(context); - fAccessModes[fVariableId - context.getStartingIndex()]= localAccessMode; - context.manageLocal(binding); - } - } - - public LocalFlowInfo(LocalFlowInfo info, int localAccessMode, FlowContext context) { - super(NO_RETURN); - fVariableId= info.fVariableId; - if (context.considerAccessMode()) { - createAccessModeArray(context); - fAccessModes[fVariableId - context.getStartingIndex()]= localAccessMode; - } - } - - public void setWriteAccess(FlowContext context) { - if (context.considerAccessMode()) { - fAccessModes[fVariableId - context.getStartingIndex()]= FlowInfo.WRITE; - } - } -} - |