unit = parseCompilationUnit(
mapper.getSource(type, javaProject, false).toCharArray(),
mapper.getCompilationUnitName(), javaProject);
} catch (CoreException e) {
InstructionSequence expression = new InstructionSequence(snippet);
expression.addError(e.getStatus().getMessage());
return expression;
}
return createExpressionFromAST(snippet, mapper, unit);
}