Beispiel #1
0
 /** Returns whether the given visitor accepter has been marked as possibly being used. */
 protected boolean isPossiblyUsed(VisitorAccepter visitorAccepter) {
   return visitorAccepter.getVisitorInfo() == POSSIBLY_USED;
 }
Beispiel #2
0
 /** Returns whether the given visitor accepter has been marked as being used. */
 protected boolean isUsed(VisitorAccepter visitorAccepter) {
   return visitorAccepter.getVisitorInfo() == USED;
 }
Beispiel #3
0
 /** Returns whether the given visitor accepter should still be marked as possibly being used. */
 protected boolean shouldBeMarkedAsPossiblyUsed(VisitorAccepter visitorAccepter) {
   return visitorAccepter.getVisitorInfo() != USED
       && visitorAccepter.getVisitorInfo() != POSSIBLY_USED;
 }
Beispiel #4
0
 /** Returns whether the given visitor accepter should still be marked as being used. */
 protected boolean shouldBeMarkedAsUsed(VisitorAccepter visitorAccepter) {
   return visitorAccepter.getVisitorInfo() != USED;
 }