Searched refs:secondChoice (Results 1 – 5 of 5) sorted by relevance
122 JavaToken orIfInvalid(JavaToken firstChoice, JavaToken secondChoice) { in orIfInvalid() argument125 assertNotNull(secondChoice); in orIfInvalid()126 if (firstChoice.valid() || secondChoice.invalid()) { in orIfInvalid()129 return secondChoice; in orIfInvalid()137 JavaToken orIfInvalid(JavaToken firstChoice, Node secondChoice) { in orIfInvalid() argument139 return orIfInvalid(firstChoice, secondChoice.getTokenRange().get().getBegin()); in orIfInvalid()
55 @Override public Optional<T> or(Optional<? extends T> secondChoice) { in or() argument56 return (Optional<T>) checkNotNull(secondChoice); in or()
52 @Override public Optional<T> or(Optional<? extends T> secondChoice) { in or() argument53 checkNotNull(secondChoice); in or()
149 public abstract Optional<T> or(Optional<? extends T> secondChoice); in or() argument
57 @Override public Optional<T> or(Optional<? extends T> secondChoice) { in or() argument