org.eclipse.jdt.core.dom.LineComment Java Examples

The following examples show how to use org.eclipse.jdt.core.dom.LineComment. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JavaASTFlattener.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public boolean visit(final LineComment node) {
  if ((this.javaSources != null)) {
    this.appendToBuffer(this.commentContent(node));
  }
  this.appendLineWrapToBuffer();
  return false;
}
 
Example #2
Source File: SORecommender.java    From scava with Eclipse Public License 2.0 4 votes vote down vote up
public boolean visit(final LineComment commentNode) {
	return false;
}
 
Example #3
Source File: CamelJavaFileParser.java    From eip-designer with Apache License 2.0 4 votes vote down vote up
@Override
public boolean visit(LineComment node) {
   commentMap.put(routeCU.getLineNumber(node.getStartPosition()), getCommentContent(node));
   return true;
}
 
Example #4
Source File: AstMatchingNodeFinder.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public boolean visit(LineComment node) {
	if (node.subtreeMatch(fMatcher, fNodeToMatch))
		return matches(node);
	return super.visit(node);
}
 
Example #5
Source File: GenericVisitor.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public void endVisit(LineComment node) {
	endVisitNode(node);
}
 
Example #6
Source File: GenericVisitor.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public boolean visit(LineComment node) {
	return visitNode(node);
}