类org.eclipse.jdt.core.dom.LineComment源码实例Demo

下面列出了怎么用org.eclipse.jdt.core.dom.LineComment的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: xtext-xtend   文件: JavaASTFlattener.java
@Override
public boolean visit(final LineComment node) {
  if ((this.javaSources != null)) {
    this.appendToBuffer(this.commentContent(node));
  }
  this.appendLineWrapToBuffer();
  return false;
}
 
源代码2 项目: scava   文件: SORecommender.java
public boolean visit(final LineComment commentNode) {
	return false;
}
 
源代码3 项目: eip-designer   文件: CamelJavaFileParser.java
@Override
public boolean visit(LineComment node) {
   commentMap.put(routeCU.getLineNumber(node.getStartPosition()), getCommentContent(node));
   return true;
}
 
@Override
public boolean visit(LineComment node) {
	if (node.subtreeMatch(fMatcher, fNodeToMatch))
		return matches(node);
	return super.visit(node);
}
 
@Override
public void endVisit(LineComment node) {
	endVisitNode(node);
}
 
@Override
public boolean visit(LineComment node) {
	return visitNode(node);
}
 
 类所在包
 同包方法