Uses of Interface
org.sonar.java.se.constraint.Constraint
-
Packages that use Constraint Package Description org.sonar.java.bytecode.se org.sonar.java.se org.sonar.java.se.checks org.sonar.java.se.constraint org.sonar.java.se.symbolicvalues -
-
Uses of Constraint in org.sonar.java.bytecode.se
Classes in org.sonar.java.bytecode.se that implement Constraint Modifier and Type Class Description static classBytecodeEGWalker.StackValueCategoryConstraintBecause some instructions manipulate stack differently depending on the type of the value, we need this constraint to know category of the value see https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-2.html#jvms-2.11.1 Table 2.11.1-BMethods in org.sonar.java.bytecode.se that return Constraint Modifier and Type Method Description ConstraintBytecodeEGWalker.StackValueCategoryConstraint. copyOver(RelationalSymbolicValue.Kind kind) -
Uses of Constraint in org.sonar.java.se
Methods in org.sonar.java.se with type parameters of type Constraint Modifier and Type Method Description <T extends Constraint>
TProgramState. getConstraint(SymbolicValue sv, Class<T> domain)Methods in org.sonar.java.se that return Constraint Modifier and Type Method Description ConstraintLearnedConstraint. constraint()Methods in org.sonar.java.se with parameters of type Constraint Modifier and Type Method Description ProgramStateProgramState. addConstraint(SymbolicValue symbolicValue, Constraint constraint)ProgramStateProgramState. addConstraintTransitively(SymbolicValue symbolicValue, Constraint constraint)List<SymbolicValue>ProgramState. getValuesWithConstraints(Constraint constraint)Method parameters in org.sonar.java.se with type arguments of type Constraint Modifier and Type Method Description static Set<Flow>FlowComputation. flow(ExplodedGraph.Node currentNode, Set<SymbolicValue> symbolicValues, Predicate<Constraint> addToFlow, Predicate<Constraint> terminateTraversal, List<Class<? extends Constraint>> domains, Set<Symbol> symbols)static Set<Flow>FlowComputation. flow(ExplodedGraph.Node currentNode, Set<SymbolicValue> symbolicValues, Predicate<Constraint> addToFlow, Predicate<Constraint> terminateTraversal, List<Class<? extends Constraint>> domains, Set<Symbol> symbols)static Set<Flow>FlowComputation. flow(ExplodedGraph.Node currentNode, SymbolicValue currentVal, List<Class<? extends Constraint>> domains)static Set<Flow>FlowComputation. flow(ExplodedGraph.Node currentNode, SymbolicValue currentVal, List<Class<? extends Constraint>> domains, Symbol trackSymbol)static Set<Flow>FlowComputation. flowWithoutExceptions(ExplodedGraph.Node currentNode, SymbolicValue currentVal, Predicate<Constraint> addToFlow, Predicate<Constraint> terminateTraversal, List<Class<? extends Constraint>> domains)static Set<Flow>FlowComputation. flowWithoutExceptions(ExplodedGraph.Node currentNode, SymbolicValue currentVal, Predicate<Constraint> addToFlow, Predicate<Constraint> terminateTraversal, List<Class<? extends Constraint>> domains)static Set<Flow>FlowComputation. flowWithoutExceptions(ExplodedGraph.Node currentNode, SymbolicValue currentVal, Predicate<Constraint> addToFlow, List<Class<? extends Constraint>> domains)static Set<Flow>FlowComputation. flowWithoutExceptions(ExplodedGraph.Node currentNode, SymbolicValue currentVal, Predicate<Constraint> addToFlow, List<Class<? extends Constraint>> domains)ProgramStateProgramState. removeConstraintsOnDomain(SymbolicValue sv, Class<? extends Constraint> domain)Constructors in org.sonar.java.se with parameters of type Constraint Constructor Description LearnedConstraint(SymbolicValue sv, Constraint constraint) -
Uses of Constraint in org.sonar.java.se.checks
Classes in org.sonar.java.se.checks that implement Constraint Modifier and Type Class Description classCustomUnclosedResourcesCheck.CustomResourceConstraintstatic classDivisionByZeroCheck.ZeroConstraintstatic classLocksNotUnlockedCheck.LockConstraintstatic classStreamConsumedCheck.StreamPipelineConstraintstatic classUnclosedResourcesCheck.ResourceConstraintMethods in org.sonar.java.se.checks that return Constraint Modifier and Type Method Description ConstraintDivisionByZeroCheck.ZeroConstraint. copyOver(RelationalSymbolicValue.Kind kind)ConstraintDivisionByZeroCheck.ZeroConstraint. inverse()Methods in org.sonar.java.se.checks with parameters of type Constraint Modifier and Type Method Description booleanDivisionByZeroCheck.ZeroConstraint. isValidWith(Constraint constraint) -
Uses of Constraint in org.sonar.java.se.constraint
Classes in org.sonar.java.se.constraint that implement Constraint Modifier and Type Class Description classBooleanConstraintclassObjectConstraintclassTypedConstraintMethods in org.sonar.java.se.constraint that return Constraint Modifier and Type Method Description ConstraintBooleanConstraint. copyOver(RelationalSymbolicValue.Kind kind)default ConstraintConstraint. copyOver(RelationalSymbolicValue.Kind kind)Return constraint which should be applied to the rhs of the relation, if this constraint is set on the lhs of the relation.ConstraintObjectConstraint. copyOver(RelationalSymbolicValue.Kind kind)ConstraintConstraintsByDomain. get(Class<? extends Constraint> domain)default ConstraintConstraint. inverse()ConstraintObjectConstraint. inverse()Methods in org.sonar.java.se.constraint that return types with arguments of type Constraint Modifier and Type Method Description Stream<Class<? extends Constraint>>ConstraintsByDomain. domains()Stream<Constraint>ConstraintsByDomain. stream()Methods in org.sonar.java.se.constraint with parameters of type Constraint Modifier and Type Method Description booleanConstraintsByDomain. hasConstraint(Constraint constraint)booleanBooleanConstraint. isValidWith(Constraint constraint)default booleanConstraint. isValidWith(Constraint constraint)booleanObjectConstraint. isValidWith(Constraint constraint)ConstraintsByDomainConstraintsByDomain. put(Constraint constraint)Method parameters in org.sonar.java.se.constraint with type arguments of type Constraint Modifier and Type Method Description voidConstraintsByDomain. forEach(BiConsumer<Class<? extends Constraint>,Constraint> action)voidConstraintsByDomain. forEach(BiConsumer<Class<? extends Constraint>,Constraint> action)ConstraintConstraintsByDomain. get(Class<? extends Constraint> domain)ConstraintsByDomainConstraintsByDomain. remove(Class<? extends Constraint> domain) -
Uses of Constraint in org.sonar.java.se.symbolicvalues
Methods in org.sonar.java.se.symbolicvalues with parameters of type Constraint Modifier and Type Method Description protected List<ProgramState>RelationalSymbolicValue. setConstraint(ProgramState initialProgramState, Constraint constraint, Set<RelationalSymbolicValue> knownRelations)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, Constraint constraint)protected List<ProgramState>SymbolicValue. setConstraint(ProgramState state, Constraint constraint, Set<RelationalSymbolicValue> knownRelations)
-