Exemplo n.º 1
0
 public boolean equalsComment(Comment c) {
   if (c.getCommenter().equals(commenter)) {
     if (c.getComment().equals(comment)) {
       if (c.getDate().equals(date)) {
         return true;
       }
     }
   }
   return false;
 }
Exemplo n.º 2
0
 @Override
 public Void visitComment(ByteCodeNode parent, Comment node) {
   printLine();
   printLine("// %s", node.getComment());
   return null;
 }