All Downloads are FREE. Search and download functionalities are using the official Maven repository.

errorprone.bugpattern.StaticOrDefaultInterfaceMethod.md Maven / Gradle / Ivy

The newest version!
Static and default interface methods are not natively supported on Android
versions earlier than 7.0. Enable this check for compatibility with older
devices. See
[Android Java 8 Documentation](https://developer.android.com/guide/platform/j8-jack.html).

## Suppression

To declare default or static methods in interfaces, add a
`@SuppressWarnings("StaticOrDefaultInterfaceMethod")` annotation to the
enclosing element.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy