List of usage examples for org.eclipse.jdt.core.compiler ITerminalSymbols TokenNamedo
int TokenNamedo
To view the source code for org.eclipse.jdt.core.compiler ITerminalSymbols TokenNamedo.
Click Source Link
From source file:edu.illinois.jflow.core.transformations.code.ExtractClosureAnalyzer.java
License:Open Source License
@Override public boolean visit(DoStatement node) { boolean result = super.visit(node); try {// ww w.j av a 2 s.c o m int actionStart = getTokenScanner().getTokenEndOffset(ITerminalSymbols.TokenNamedo, node.getStartPosition()); if (getSelection().getOffset() == actionStart) { invalidSelection(JFlowRefactoringCoreMessages.ExtractClosureAnalyzer_after_do_keyword, JavaStatusContext.create(fCUnit, getSelection())); return false; } } catch (CoreException e) { // ignore } return result; }