Class TypeCompatibilityUtils
java.lang.Object
com.google.errorprone.bugpatterns.TypeCompatibilityUtils
Logical utility methods to answer the question: Are these two types "compatible" with each other,
in the context of an equality check.
i.e.: It is possible that an object of one type could be equal to an object of the other type.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeCompatibilityUtils
allOn()
compatibilityOfTypes
(com.sun.tools.javac.code.Type receiverType, com.sun.tools.javac.code.Type argumentType, VisitorState state) static TypeCompatibilityUtils
fromFlags
(ErrorProneFlags flags)
-
Method Details
-
fromFlags
-
allOn
-
compatibilityOfTypes
public TypeCompatibilityUtils.TypeCompatibilityReport compatibilityOfTypes(com.sun.tools.javac.code.Type receiverType, com.sun.tools.javac.code.Type argumentType, VisitorState state)
-