public Javadoc parse(int start, int length) { // Init this.source = this.scanner.source; this.lineEnds = this.scanner.lineEnds; this.docComment = new Javadoc(this.ast); // Parse if (this.checkDocComment) { this.javadocStart = start; this.javadocEnd = start+length-1; this.firstTagPosition = this.javadocStart; commentParse(); } this.docComment.setSourceRange(start, length); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { setComment(start, length); // backward compatibility } return this.docComment; }
public Javadoc parse(int start, int length) { // Init this.source = this.scanner.source; this.lineEnds = this.scanner.lineEnds; this.docComment = new Javadoc(this.ast); // Parse if (this.checkDocComment) { this.javadocStart = start; this.javadocEnd = start+length-1; this.firstTagPosition = this.javadocStart; commentParse(); } this.docComment.setSourceRange(start, length); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { setComment(start, length); // backward compatibility } return this.docComment; }
public Javadoc parse(int start, int length) { // Init this.source = this.scanner.source; this.lineEnds = this.scanner.lineEnds; this.docComment = new Javadoc(this.ast); // Parse if (this.checkDocComment) { this.javadocStart = start; this.javadocEnd = start+length-1; this.firstTagPosition = this.javadocStart; commentParse(); } this.docComment.setSourceRange(start, length); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { setComment(start, length); // backward compatibility } return this.docComment; }
public Javadoc parse(int start, int length) { // Init this.source = this.scanner.source; this.lineEnds = this.scanner.lineEnds; this.docComment = new Javadoc(this.ast); // Parse if (this.checkDocComment) { this.javadocStart = start; this.javadocEnd = start+length-1; this.firstTagPosition = this.javadocStart; commentParse(); } this.docComment.setSourceRange(start, length); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { setComment(start, length); // backward compatibility } return this.docComment; }
public Javadoc parse(int start, int length) { // Init this.source = this.scanner.source; this.lineEnds = this.scanner.lineEnds; this.docComment = new Javadoc(this.ast); // Parse if (this.checkDocComment) { this.javadocStart = start; this.javadocEnd = start+length-1; this.firstTagPosition = this.javadocStart; commentParse(); } this.docComment.setSourceRange(start, length); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { setComment(start, length); // backward compatibility } return this.docComment; }
ASTNode clone0(AST target) { Javadoc result = new Javadoc(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { result.setComment(getComment()); } result.tags().addAll(ASTNode.copySubtrees(target, tags())); return result; }
public Javadoc parse(int start, int length) { // Init this.source = this.scanner.source; this.lineEnds = this.scanner.lineEnds; this.docComment = new Javadoc(this.ast); // Parse if (this.checkDocComment) { this.javadocStart = start; this.javadocEnd = start+length-1; this.firstTagPosition = this.javadocStart; commentParse(); } this.docComment.setSourceRange(start, length); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { setComment(start, length); // backward compatibility } return this.docComment; }
@Override ASTNode clone0(AST target) { Javadoc result = new Javadoc(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { result.setComment(getComment()); } result.tags().addAll(ASTNode.copySubtrees(target, tags())); return result; }
ASTNode clone0(AST target) { Javadoc result = new Javadoc(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { result.setComment(getComment()); } result.tags().addAll(ASTNode.copySubtrees(target, tags())); return result; }
ASTNode clone0(AST target) { Javadoc result = new Javadoc(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { result.setComment(getComment()); } result.tags().addAll(ASTNode.copySubtrees(target, tags())); return result; }
ASTNode clone0(AST target) { Javadoc result = new Javadoc(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { result.setComment(getComment()); } result.tags().addAll(ASTNode.copySubtrees(target, tags())); return result; }
ASTNode clone0(AST target) { Javadoc result = new Javadoc(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel == AST.JLS2_INTERNAL) { result.setComment(getComment()); } result.tags().addAll(ASTNode.copySubtrees(target, tags())); return result; }