ICompletionContext context = getContext();
if (!(context instanceof IncludeStatementContext)) {
return;
}
IncludeStatementContext includeContext = (IncludeStatementContext) context;
String prefix = includeContext.getPrefix();
SourceRange replaceRange = getReplacementRange(includeContext);
final ISourceModule sourceModule = includeContext.getSourceModule();
if (sourceModule == null || sourceModule.getScriptProject() == null) {
if (DLTKCore.DEBUG_COMPLETION) {
System.out.println("Unable to locate source module or project"); //$NON-NLS-1$
}
return;