org.deft.extension.tools.astmodifier.comment
Class JavaLineCommentVisitor

java.lang.Object
  extended by org.deft.extension.tools.astmodifier.comment.CommentTypeVisitor
      extended by org.deft.extension.tools.astmodifier.comment.JavaLineCommentVisitor

public class JavaLineCommentVisitor
extends CommentTypeVisitor

Transforms treenodes in java line comments(//).

Author:
Martin Heinzerling

Constructor Summary
JavaLineCommentVisitor()
           
 
Method Summary
 java.util.List<org.deft.repository.ast.TreeNode> execute(java.util.List<org.deft.repository.ast.TreeNode> nodes)
          Transform treenodes in a list of comment nodes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaLineCommentVisitor

public JavaLineCommentVisitor()
Method Detail

execute

public java.util.List<org.deft.repository.ast.TreeNode> execute(java.util.List<org.deft.repository.ast.TreeNode> nodes)
Description copied from class: CommentTypeVisitor
Transform treenodes in a list of comment nodes.

Specified by:
execute in class CommentTypeVisitor
Parameters:
nodes - treenodes
Returns:
List of comment nodes