EObject _grammarElement = _currentNode.getGrammarElement();
TargetPlatformGrammarAccess.TargetPlatformElements _targetPlatformAccess = this.grammarAccess.getTargetPlatformAccess();
Keyword _targetKeyword_0 = _targetPlatformAccess.getTargetKeyword_0();
boolean _equals = Objects.equal(_grammarElement, _targetKeyword_0);
if (_equals) {
StringConcatenation _builder = new StringConcatenation();
_builder.append(" ");
_builder.append("\"");
_builder.append(TargetPlatformProposalProvider.TARGET_PLATFORM__NAME_PLACEHOLDER, " ");
_builder.append("\"");
ITextViewer _viewer = context.getViewer();
StyledText _textWidget = _viewer.getTextWidget();
String _lineDelimiter = _textWidget.getLineDelimiter();
_builder.append(_lineDelimiter, " ");
textProposal = _builder.toString();
offset = 2;
} else {
StringConcatenation _builder_1 = new StringConcatenation();
_builder_1.append("\"");
_builder_1.append(TargetPlatformProposalProvider.TARGET_PLATFORM__NAME_PLACEHOLDER, "");
_builder_1.append("\"");
ITextViewer _viewer_1 = context.getViewer();
StyledText _textWidget_1 = _viewer_1.getTextWidget();
String _lineDelimiter_1 = _textWidget_1.getLineDelimiter();
_builder_1.append(_lineDelimiter_1, "");
textProposal = _builder_1.toString();
offset = 1;
}
StringConcatenation _builder_2 = new StringConcatenation();
_builder_2.append("\"");
_builder_2.append(TargetPlatformProposalProvider.TARGET_PLATFORM__NAME_PLACEHOLDER, "");
_builder_2.append("\"");
StyledString _styledString = new StyledString(_builder_2.toString());
StyledString _append = _styledString.append(" - name of the target", StyledString.QUALIFIER_STYLER);
Image _image = this.getImage(TargetPlatformProposalProvider.TARGET_PLATFORM);
final ICompletionProposal p = this.createCompletionProposal(textProposal, _append, _image, context);
if ((p instanceof ConfigurableCompletionProposal)) {
int _replacementOffset = ((ConfigurableCompletionProposal)p).getReplacementOffset();