BooleanConstraint, BytecodeEGWalker.StackValueCategoryConstraint, CustomUnclosedResourcesCheck.CustomResourceConstraint, DivisionByZeroCheck.ZeroConstraint, LocksNotUnlockedCheck.LockConstraint, ObjectConstraint, StreamConsumedCheck.StreamPipelineConstraint, TypedConstraint, UnclosedResourcesCheck.ResourceConstraintpublic interface Constraint
| Modifier and Type | Method | Description |
|---|---|---|
default Constraint |
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.
|
default boolean |
hasPreciseValue() |
|
default Constraint |
inverse() |
|
default boolean |
isValidWith(Constraint constraint) |
|
default String |
valueAsString() |
default String valueAsString()
default boolean hasPreciseValue()
@Nullable default Constraint inverse()
default boolean isValidWith(@Nullable Constraint constraint)
@Nullable default Constraint copyOver(RelationalSymbolicValue.Kind kind)
kind - kind of relation over which constraint is copiedCopyright © 2012–2018 SonarSource. All rights reserved.