Java Code Examples for org.eclipse.jdt.core.dom.IVariableBinding#getVariableId()
The following examples show how to use
org.eclipse.jdt.core.dom.IVariableBinding#getVariableId() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LocalFlowInfo.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 5 votes |
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); } }
Example 2
Source File: LocalFlowInfo.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
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); } }
Example 3
Source File: FlowContext.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
void manageLocal(IVariableBinding local) { if (fLocals == null) { fLocals= new IVariableBinding[fLength]; } fLocals[local.getVariableId() - fStart]= local; }
Example 4
Source File: FlowInfo.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
protected void clearAccessMode(IVariableBinding binding, FlowContext context) { if (fAccessModes == null) { return; } fAccessModes[binding.getVariableId() - context.getStartingIndex()] = UNUSED; }
Example 5
Source File: FlowContext.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
void manageLocal(IVariableBinding local) { if (fLocals == null) fLocals= new IVariableBinding[fLength]; fLocals[local.getVariableId() - fStart]= local; }
Example 6
Source File: FlowInfo.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
protected void clearAccessMode(IVariableBinding binding, FlowContext context) { if (fAccessModes == null) // all are unused return; fAccessModes[binding.getVariableId() - context.getStartingIndex()]= UNUSED; }