Package org.sonar.java.checks.helpers
Class SubAutomaton
java.lang.Object
org.sonar.java.checks.helpers.SubAutomaton
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanorg.sonarsource.analyzer.commons.regex.ast.AutomatonStateorg.sonarsource.analyzer.commons.regex.ast.AutomatonState -
Constructor Summary
ConstructorsConstructorDescriptionSubAutomaton(org.sonarsource.analyzer.commons.regex.ast.AutomatonState start, org.sonarsource.analyzer.commons.regex.ast.AutomatonState end, boolean allowPrefix) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSuccessorMatch(Predicate<SubAutomaton> predicate)booleananySuccessorMatch(Predicate<SubAutomaton> predicate)booleaninthashCode()org.sonarsource.analyzer.commons.regex.ast.AutomatonState.TransitionTypebooleanisAtEnd()
-
Field Details
-
start
public final org.sonarsource.analyzer.commons.regex.ast.AutomatonState start -
end
public final org.sonarsource.analyzer.commons.regex.ast.AutomatonState end -
allowPrefix
public final boolean allowPrefix
-
-
Constructor Details
-
SubAutomaton
public SubAutomaton(org.sonarsource.analyzer.commons.regex.ast.AutomatonState start, org.sonarsource.analyzer.commons.regex.ast.AutomatonState end, boolean allowPrefix)
-
-
Method Details
-
incomingTransitionType
public org.sonarsource.analyzer.commons.regex.ast.AutomatonState.TransitionType incomingTransitionType() -
isAtEnd
public boolean isAtEnd() -
anySuccessorMatch
-
allSuccessorMatch
-
equals
-
hashCode
public int hashCode()
-