Class AndroidJdkLibsChecker

All Implemented Interfaces:
BugChecker.IdentifierTreeMatcher, BugChecker.MemberSelectTreeMatcher, Suppressible, Serializable

public class AndroidJdkLibsChecker
extends ApiDiffChecker
Checks for uses of classes, fields, or methods that are not compatible with legacy Android devices. As of Android N, that includes all of JDK8 (which is only supported on Nougat) except type and repeated annotations, which are compiled in a backwards compatible way.
See Also:
Serialized Form
  • Constructor Details

    • AndroidJdkLibsChecker

      public AndroidJdkLibsChecker​(ErrorProneFlags flags)
    • AndroidJdkLibsChecker

      public AndroidJdkLibsChecker()