Class FIsA
java.lang.Object
org.checkerframework.framework.util.typeinference.constraint.AFConstraint
org.checkerframework.framework.util.typeinference.constraint.FIsA
A constraint of the form: F = A or A = F
- See Also:
-
Field Summary
Fields inherited from class org.checkerframework.framework.util.typeinference.constraint.AFConstraint
argument, formalParameter -
Constructor Summary
ConstructorsConstructorDescriptionFIsA(AnnotatedTypeMirror parameter, AnnotatedTypeMirror argument) Create a constraint with an argument equal to a formal. -
Method Summary
Modifier and TypeMethodDescriptionprotected FIsAconstruct(AnnotatedTypeMirror newArgument, AnnotatedTypeMirror newFormalParameter) Used to create a new constraint of the same subclass of AFConstraint.toString()Once AFConstraints are irreducible it can be converted to a TU constraint, constraints between individual type parameters for which we are inferring an argument (T) and Java types (U).Methods inherited from class org.checkerframework.framework.util.typeinference.constraint.AFConstraint
equals, hashCode, isIrreducible, substitute
-
Constructor Details
-
FIsA
Create a constraint with an argument equal to a formal.
-
-
Method Details
-
toTUConstraint
Description copied from class:AFConstraintOnce AFConstraints are irreducible it can be converted to a TU constraint, constraints between individual type parameters for which we are inferring an argument (T) and Java types (U).- Specified by:
toTUConstraintin classAFConstraint- Returns:
- a TUConstraint that represents this AFConstraint
-
construct
Description copied from class:AFConstraintUsed to create a new constraint of the same subclass of AFConstraint.- Specified by:
constructin classAFConstraint
-
toString
-