protected Object syntaxRecoverEmptyArgumentType(Object methodRef) throws InvalidInputException { if (methodRef instanceof JavadocMessageSend) { JavadocMessageSend msgSend = (JavadocMessageSend) methodRef; if (this.index > this.cursorLocation) { msgSend.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart); } else if (methodRef instanceof JavadocAllocationExpression) { JavadocAllocationExpression allocExp = (JavadocAllocationExpression) methodRef; if (this.index > this.cursorLocation) { allocExp.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocAllocationExpression(allocExp, this.memberStart); } if (CompletionEngine.DEBUG) { System.out.println(" completion method="+this.completionNode); //$NON-NLS-1$ } return this.completionNode; }
output.append("infos:"); //$NON-NLS-1$ char separator = 0; if (completeAnException()) { output.append("exception"); //$NON-NLS-1$ separator = ','; if (completeInText()) { if (separator != 0) output.append(separator); output.append("text"); //$NON-NLS-1$ separator = ','; if (completeBaseTypes()) { if (separator != 0) output.append(separator); output.append("base types"); //$NON-NLS-1$ separator = ','; if (completeFormalReference()) { if (separator != 0) output.append(separator); output.append("formal reference"); //$NON-NLS-1$
if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart;
if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart;
output.append("infos:"); //$NON-NLS-1$ char separator = 0; if (completeAnException()) { output.append("exception"); //$NON-NLS-1$ separator = ','; if (completeInText()) { if (separator != 0) output.append(separator); output.append("text"); //$NON-NLS-1$ separator = ','; if (completeBaseTypes()) { if (separator != 0) output.append(separator); output.append("base types"); //$NON-NLS-1$ separator = ','; if (completeFormalReference()) { if (separator != 0) output.append(separator); output.append("formal reference"); //$NON-NLS-1$
protected Object syntaxRecoverEmptyArgumentType(Object methodRef) throws InvalidInputException { if (methodRef instanceof JavadocMessageSend) { JavadocMessageSend msgSend = (JavadocMessageSend) methodRef; if (this.index > this.cursorLocation) { msgSend.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart); } else if (methodRef instanceof JavadocAllocationExpression) { JavadocAllocationExpression allocExp = (JavadocAllocationExpression) methodRef; if (this.index > this.cursorLocation) { allocExp.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocAllocationExpression(allocExp, this.memberStart); } if (CompletionEngine.DEBUG) { System.out.println(" completion method="+this.completionNode); //$NON-NLS-1$ } return this.completionNode; }
if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart;
output.append("infos:"); //$NON-NLS-1$ char separator = 0; if (completeAnException()) { output.append("exception"); //$NON-NLS-1$ separator = ','; if (completeInText()) { if (separator != 0) output.append(separator); output.append("text"); //$NON-NLS-1$ separator = ','; if (completeBaseTypes()) { if (separator != 0) output.append(separator); output.append("base types"); //$NON-NLS-1$ separator = ','; if (completeFormalReference()) { if (separator != 0) output.append(separator); output.append("formal reference"); //$NON-NLS-1$
protected Object syntaxRecoverEmptyArgumentType(Object methodRef) throws InvalidInputException { if (methodRef instanceof JavadocMessageSend) { JavadocMessageSend msgSend = (JavadocMessageSend) methodRef; if (this.index > this.cursorLocation) { msgSend.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart); } else if (methodRef instanceof JavadocAllocationExpression) { JavadocAllocationExpression allocExp = (JavadocAllocationExpression) methodRef; if (this.index > this.cursorLocation) { allocExp.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocAllocationExpression(allocExp, this.memberStart); } if (CompletionEngine.DEBUG) { System.out.println(" completion method="+this.completionNode); //$NON-NLS-1$ } return this.completionNode; }
if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart;
output.append("infos:"); //$NON-NLS-1$ char separator = 0; if (completeAnException()) { output.append("exception"); //$NON-NLS-1$ separator = ','; if (completeInText()) { if (separator != 0) output.append(separator); output.append("text"); //$NON-NLS-1$ separator = ','; if (completeBaseTypes()) { if (separator != 0) output.append(separator); output.append("base types"); //$NON-NLS-1$ separator = ','; if (completeFormalReference()) { if (separator != 0) output.append(separator); output.append("formal reference"); //$NON-NLS-1$
protected Object syntaxRecoverEmptyArgumentType(Object methodRef) throws InvalidInputException { if (methodRef instanceof JavadocMessageSend) { JavadocMessageSend msgSend = (JavadocMessageSend) methodRef; if (this.index > this.cursorLocation) { msgSend.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart); } else if (methodRef instanceof JavadocAllocationExpression) { JavadocAllocationExpression allocExp = (JavadocAllocationExpression) methodRef; if (this.index > this.cursorLocation) { allocExp.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocAllocationExpression(allocExp, this.memberStart); } if (CompletionEngine.DEBUG) { System.out.println(" completion method="+this.completionNode); //$NON-NLS-1$ } return this.completionNode; }
if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart;
output.append("infos:"); //$NON-NLS-1$ char separator = 0; if (completeAnException()) { output.append("exception"); //$NON-NLS-1$ separator = ','; if (completeInText()) { if (separator != 0) output.append(separator); output.append("text"); //$NON-NLS-1$ separator = ','; if (completeBaseTypes()) { if (separator != 0) output.append(separator); output.append("base types"); //$NON-NLS-1$ separator = ','; if (completeFormalReference()) { if (separator != 0) output.append(separator); output.append("formal reference"); //$NON-NLS-1$
protected Object syntaxRecoverEmptyArgumentType(Object methodRef) throws InvalidInputException { if (methodRef instanceof JavadocMessageSend) { JavadocMessageSend msgSend = (JavadocMessageSend) methodRef; if (this.index > this.cursorLocation) { msgSend.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart); } else if (methodRef instanceof JavadocAllocationExpression) { JavadocAllocationExpression allocExp = (JavadocAllocationExpression) methodRef; if (this.index > this.cursorLocation) { allocExp.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocAllocationExpression(allocExp, this.memberStart); } if (CompletionEngine.DEBUG) { System.out.println(" completion method="+this.completionNode); //$NON-NLS-1$ } return this.completionNode; }
if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart;
output.append("infos:"); //$NON-NLS-1$ char separator = 0; if (completeAnException()) { output.append("exception"); //$NON-NLS-1$ separator = ','; if (completeInText()) { if (separator != 0) output.append(separator); output.append("text"); //$NON-NLS-1$ separator = ','; if (completeBaseTypes()) { if (separator != 0) output.append(separator); output.append("base types"); //$NON-NLS-1$ separator = ','; if (completeFormalReference()) { if (separator != 0) output.append(separator); output.append("formal reference"); //$NON-NLS-1$
protected Object syntaxRecoverEmptyArgumentType(Object methodRef) throws InvalidInputException { if (methodRef instanceof JavadocMessageSend) { JavadocMessageSend msgSend = (JavadocMessageSend) methodRef; if (this.index > this.cursorLocation) { msgSend.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart); } else if (methodRef instanceof JavadocAllocationExpression) { JavadocAllocationExpression allocExp = (JavadocAllocationExpression) methodRef; if (this.index > this.cursorLocation) { allocExp.sourceEnd = this.tokenPreviousPosition-1; } this.completionNode = new CompletionOnJavadocAllocationExpression(allocExp, this.memberStart); } if (CompletionEngine.DEBUG) { System.out.println(" completion method="+this.completionNode); //$NON-NLS-1$ } return this.completionNode; }
this.completionNode = new CompletionOnJavadocFieldReference(msgSend, this.memberStart); } else { this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart);
this.completionNode = new CompletionOnJavadocFieldReference(msgSend, this.memberStart); } else { this.completionNode = new CompletionOnJavadocMessageSend(msgSend, this.memberStart);