public interface Constraint
Modifier and Type | Method and 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–2017 SonarSource. All rights reserved.