Uses of Class
org.sonar.java.checks.helpers.SubAutomaton
-
Packages that use SubAutomaton Package Description org.sonar.java.checks.helpers -
-
Uses of SubAutomaton in org.sonar.java.checks.helpers
Methods in org.sonar.java.checks.helpers with parameters of type SubAutomaton Modifier and Type Method Description static booleanRegexTreeHelper. intersects(SubAutomaton auto1, SubAutomaton auto2, boolean defaultAnswer)If both sub-automata have allowPrefix set to true, this method will check whether auto1 intersects the prefix of auto2 or auto2 intersects the prefix of auto1.static booleanRegexTreeHelper. supersetOf(SubAutomaton auto1, SubAutomaton auto2, boolean defaultAnswer)Here auto2.allowPrefix means that if supersetOf(auto1, auto2), then for every string matched by auto2, auto1 can match a prefix of it auto1.allowPrefix means that if supersetOf(auto1, auto2), then for every string matched by auto2, auto1 can match a continuation of it If both are set, it means either one can be the case.Method parameters in org.sonar.java.checks.helpers with type arguments of type SubAutomaton Modifier and Type Method Description booleanSubAutomaton. allSuccessorMatch(Predicate<SubAutomaton> predicate, boolean followMatchedCharacter)booleanSubAutomaton. anySuccessorMatch(Predicate<SubAutomaton> predicate, boolean followMatchedCharacter)
-