Class CollectionIncompatibleType

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.collectionincompatibletype.CollectionIncompatibleType
All Implemented Interfaces:
BugChecker.MemberReferenceTreeMatcher, BugChecker.MethodInvocationTreeMatcher, Suppressible, Serializable

public class CollectionIncompatibleType extends BugChecker implements BugChecker.MethodInvocationTreeMatcher, BugChecker.MemberReferenceTreeMatcher
Checker for calling Object-accepting methods with types that don't match the type arguments of their container types. Currently this checker detects problems with the following methods on all their subtypes and subinterfaces:
See Also: