protected boolean commentParse() { this.docComment = new CompletionJavadoc(this.javadocStart, this.javadocEnd); this.firstTagPosition = 1; // bug 429340: completion parser needs to parse the whole comment return super.commentParse(); }
/** * Resolve completion node if not null and throw exception to let clients know * that it has been found. * * @throws CompletionNodeFound */ public void resolve(CompilationUnitScope scope) { internalResolve(scope); }
CompletionOnJavadocParamNameReference paramNameReference = (CompletionOnJavadocParamNameReference) this.completionNode; if (scope.kind == Scope.METHOD_SCOPE) { paramNameReference.missingParams = missingParamTags(paramNameReference.binding, (MethodScope)scope); paramNameReference.missingTypeParams = missingTypeParameterTags(paramNameReference.binding, scope); typeParamReference.missingParams = missingTypeParameterTags(typeParamReference.resolvedType, scope);
public StringBuffer print(int indent, StringBuffer output) { printIndent(indent, output).append("/**\n"); //$NON-NLS-1$ boolean nodePrinted = false; if (this.paramReferences != null) { for (int i = 0, length = this.paramReferences.length; i < length; i++) { printIndent(indent, output).append(" * @param "); //$NON-NLS-1$ this.paramReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @param <"); //$NON-NLS-1$ this.paramTypeParameters[i].print(indent, output).append(">\n"); //$NON-NLS-1$ if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @"); //$NON-NLS-1$ this.returnStatement.print(indent, output).append('\n'); printIndent(indent, output).append(" * @throws "); //$NON-NLS-1$ this.exceptionReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @see "); //$NON-NLS-1$ this.seeReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * "); //$NON-NLS-1$ this.completionNode.print(indent, output).append('\n'); printIndent(indent, output).append(" */\n"); //$NON-NLS-1$ return output;
CompletionOnJavadocParamNameReference paramNameReference = (CompletionOnJavadocParamNameReference) this.completionNode; if (scope.kind == Scope.METHOD_SCOPE) { paramNameReference.missingParams = missingParamTags(paramNameReference.binding, (MethodScope)scope); paramNameReference.missingTypeParams = missingTypeParameterTags(paramNameReference.binding, scope); typeParamReference.missingParams = missingTypeParameterTags(typeParamReference.resolvedType, scope);
@Override public StringBuffer print(int indent, StringBuffer output) { printIndent(indent, output).append("/**\n"); //$NON-NLS-1$ boolean nodePrinted = false; if (this.paramReferences != null) { for (int i = 0, length = this.paramReferences.length; i < length; i++) { printIndent(indent, output).append(" * @param "); //$NON-NLS-1$ this.paramReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @param <"); //$NON-NLS-1$ this.paramTypeParameters[i].print(indent, output).append(">\n"); //$NON-NLS-1$ if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @"); //$NON-NLS-1$ this.returnStatement.print(indent, output).append('\n'); printIndent(indent, output).append(" * @throws "); //$NON-NLS-1$ this.exceptionReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @see "); //$NON-NLS-1$ this.seeReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * "); //$NON-NLS-1$ this.completionNode.print(indent, output).append('\n'); printIndent(indent, output).append(" */\n"); //$NON-NLS-1$ return output;
CompletionOnJavadocParamNameReference paramNameReference = (CompletionOnJavadocParamNameReference) this.completionNode; if (scope.kind == Scope.METHOD_SCOPE) { paramNameReference.missingParams = missingParamTags(paramNameReference.binding, (MethodScope)scope); paramNameReference.missingTypeParams = missingTypeParameterTags(paramNameReference.binding, scope); typeParamReference.missingParams = missingTypeParameterTags(typeParamReference.resolvedType, scope);
/** * Resolve completion node if not null and throw exception to let clients know * that it has been found. * * @throws CompletionNodeFound */ @Override public void resolve(CompilationUnitScope scope) { internalResolve(scope); }
@Override protected boolean commentParse() { this.docComment = new CompletionJavadoc(this.javadocStart, this.javadocEnd); this.firstTagPosition = 1; // bug 429340: completion parser needs to parse the whole comment return super.commentParse(); }
public StringBuffer print(int indent, StringBuffer output) { printIndent(indent, output).append("/**\n"); //$NON-NLS-1$ boolean nodePrinted = false; if (this.paramReferences != null) { for (int i = 0, length = this.paramReferences.length; i < length; i++) { printIndent(indent, output).append(" * @param "); //$NON-NLS-1$ this.paramReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @param <"); //$NON-NLS-1$ this.paramTypeParameters[i].print(indent, output).append(">\n"); //$NON-NLS-1$ if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @"); //$NON-NLS-1$ this.returnStatement.print(indent, output).append('\n'); printIndent(indent, output).append(" * @throws "); //$NON-NLS-1$ this.exceptionReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @see "); //$NON-NLS-1$ this.seeReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * "); //$NON-NLS-1$ this.completionNode.print(indent, output).append('\n'); printIndent(indent, output).append(" */\n"); //$NON-NLS-1$ return output;
CompletionOnJavadocParamNameReference paramNameReference = (CompletionOnJavadocParamNameReference) this.completionNode; if (scope.kind == Scope.METHOD_SCOPE) { paramNameReference.missingParams = missingParamTags(paramNameReference.binding, (MethodScope)scope); paramNameReference.missingTypeParams = missingTypeParameterTags(paramNameReference.binding, scope); typeParamReference.missingParams = missingTypeParameterTags(typeParamReference.resolvedType, scope);
/** * Resolve completion node if not null and throw exception to let clients know * that it has been found. * * @throws CompletionNodeFound */ public void resolve(CompilationUnitScope scope) { internalResolve(scope); }
protected boolean commentParse() { this.docComment = new CompletionJavadoc(this.javadocStart, this.javadocEnd); return super.commentParse(); }
public StringBuffer print(int indent, StringBuffer output) { printIndent(indent, output).append("/**\n"); //$NON-NLS-1$ boolean nodePrinted = false; if (this.paramReferences != null) { for (int i = 0, length = this.paramReferences.length; i < length; i++) { printIndent(indent, output).append(" * @param "); //$NON-NLS-1$ this.paramReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @param <"); //$NON-NLS-1$ this.paramTypeParameters[i].print(indent, output).append(">\n"); //$NON-NLS-1$ if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @"); //$NON-NLS-1$ this.returnStatement.print(indent, output).append('\n'); printIndent(indent, output).append(" * @throws "); //$NON-NLS-1$ this.exceptionReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @see "); //$NON-NLS-1$ this.seeReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * "); //$NON-NLS-1$ this.completionNode.print(indent, output).append('\n'); printIndent(indent, output).append(" */\n"); //$NON-NLS-1$ return output;
CompletionOnJavadocParamNameReference paramNameReference = (CompletionOnJavadocParamNameReference) this.completionNode; if (scope.kind == Scope.METHOD_SCOPE) { paramNameReference.missingParams = missingParamTags(paramNameReference.binding, (MethodScope)scope); paramNameReference.missingTypeParams = missingTypeParameterTags(paramNameReference.binding, scope); typeParamReference.missingParams = missingTypeParameterTags(typeParamReference.resolvedType, scope);
/** * Resolve completion node if not null and throw exception to let clients know * that it has been found. * * @throws CompletionNodeFound */ public void resolve(CompilationUnitScope scope) { internalResolve(scope); }
protected boolean commentParse() { this.docComment = new CompletionJavadoc(this.javadocStart, this.javadocEnd); return super.commentParse(); }
public StringBuffer print(int indent, StringBuffer output) { printIndent(indent, output).append("/**\n"); //$NON-NLS-1$ boolean nodePrinted = false; if (this.paramReferences != null) { for (int i = 0, length = this.paramReferences.length; i < length; i++) { printIndent(indent, output).append(" * @param "); //$NON-NLS-1$ this.paramReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @param <"); //$NON-NLS-1$ this.paramTypeParameters[i].print(indent, output).append(">\n"); //$NON-NLS-1$ if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @"); //$NON-NLS-1$ this.returnStatement.print(indent, output).append('\n'); printIndent(indent, output).append(" * @throws "); //$NON-NLS-1$ this.exceptionReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * @see "); //$NON-NLS-1$ this.seeReferences[i].print(indent, output).append('\n'); if (!nodePrinted && this.completionNode != null) { printIndent(indent, output).append(" * "); //$NON-NLS-1$ this.completionNode.print(indent, output).append('\n'); printIndent(indent, output).append(" */\n"); //$NON-NLS-1$ return output;
CompletionOnJavadocParamNameReference paramNameReference = (CompletionOnJavadocParamNameReference) this.completionNode; if (scope.kind == Scope.METHOD_SCOPE) { paramNameReference.missingParams = missingParamTags(paramNameReference.binding, (MethodScope)scope); paramNameReference.missingTypeParams = missingTypeParameterTags(paramNameReference.binding, scope); typeParamReference.missingParams = missingTypeParameterTags(typeParamReference.resolvedType, scope);
/** * Resolve completion node if not null and throw exception to let clients know * that it has been found. * * @throws CompletionNodeFound */ public void resolve(CompilationUnitScope scope) { internalResolve(scope); }