issue.getOffset(), issue.getLength(), "'"));
}
@Fix(IPPDiagnostics.ISSUE__UNKNOWN_VARIABLE)
public void unknownVariable(final Issue issue, final IssueResolutionAcceptor acceptor) {
final IModificationContext modificationContext = getModificationContextFactory().createModificationContext(
issue);
final boolean[] unqualified = new boolean[1];
unqualified[0] = false;
final IXtextDocument xtextDocument = modificationContext.getXtextDocument();
xtextDocument.readOnly(new IUnitOfWork.Void<XtextResource>() {
@Override
public void process(XtextResource state) throws Exception {
EObject varExpr = state.getEObject(issue.getUriToProblem().fragment());
if(!(varExpr instanceof VariableExpression || varExpr instanceof VariableTE || varExpr instanceof LiteralNameOrReference))