Class EquivalentAtmComboScanner.Visited
java.lang.Object
org.checkerframework.framework.type.visitor.EquivalentAtmComboScanner.Visited
- Enclosing class:
- EquivalentAtmComboScanner<RETURN_TYPE,
PARAM>
A history of type pairs that have already been visited and the return type of their visit.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2, RETURN_TYPE ret) Add a new pair to the history.void
clear()
boolean
contains
(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2) getResult
(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2)
-
Constructor Details
-
Visited
protected Visited()
-
-
Method Details
-
clear
public void clear() -
contains
-
getResult
-
add
Add a new pair to the history.- Parameters:
type1
- the first typetype2
- the second typeret
- the result
-