PsiElement _position = parameters.getPosition();
CompletionContext _userData = _position.<CompletionContext>getUserData(CompletionContext.COMPLETION_CONTEXT_KEY);
return ((CompletionContext) _userData).getOffsetMap();
}
};
<BUG>return this.<OffsetMap>readOnly(parameters, _function);
</BUG>
}
protected XtextResource getResource(final CompletionParameters parameters) {
final Function1<CompletionParameters, XtextResource> _function = new Function1<CompletionParameters, XtextResource>() {

PsiElement _position = parameters.getPosition();
CompletionContext _userData = _position.<CompletionContext>getUserData(CompletionContext.COMPLETION_CONTEXT_KEY);
return ((CompletionContext) _userData).getOffsetMap();
}
};
return this.<CompletionParameters, OffsetMap>readOnly(parameters, _function);
}
protected XtextResource getResource(final CompletionParameters parameters) {
final Function1<CompletionParameters, XtextResource> _function = new Function1<CompletionParameters, XtextResource>() {
