private void addBlockCommentToJavadocEdits(List<TextEdit> commentEdits) { for (BlockComment blockComment : this.blockCommentToJavadoc) { final int offset = blockComment.getStartPosition() + "/*".length(); commentEdits.add(new InsertEdit(offset, "*")); } }
private boolean shouldWrap(final BlockComment comment) { int _startPosition = comment.getStartPosition(); int _length = comment.getLength(); final int index = (_startPosition + _length); int _length_1 = this.javaSources.length(); boolean _lessThan = (index < _length_1); if (_lessThan) { final char charAfterComment = this.javaSources.charAt(index); if (((charAfterComment == (Character.valueOf('\n')).charValue()) || (charAfterComment == (Character.valueOf('\r')).charValue()))) { return true; } } return false; }
@Override public boolean visit(BlockComment node) { _compilationUnit.addComment(new CSBlockComment(node.getStartPosition(), getText(node.getStartPosition(), node .getLength()))); return false; };
@Override ASTNode clone0(AST target) { BlockComment result = new BlockComment(target); result.setSourceRange(getStartPosition(), getLength()); return result; }
ASTNode clone0(AST target) { BlockComment result = new BlockComment(target); result.setSourceRange(getStartPosition(), getLength()); return result; }
ASTNode clone0(AST target) { BlockComment result = new BlockComment(target); result.setSourceRange(getStartPosition(), getLength()); return result; }
ASTNode clone0(AST target) { BlockComment result = new BlockComment(target); result.setSourceRange(getStartPosition(), getLength()); return result; }
ASTNode clone0(AST target) { BlockComment result = new BlockComment(target); result.setSourceRange(getStartPosition(), getLength()); return result; }
ASTNode clone0(AST target) { BlockComment result = new BlockComment(target); result.setSourceRange(getStartPosition(), getLength()); return result; }