Affects PMD Version: 7.13.0
Rule: ImplicitFunctionalInterface
Description:
I have sealed interface:
public sealed interface MyInterface permits MyInterface1, MyInterface2 { String message(); }
and PMD is reporting false positive for it with: ImplicitFunctionalInterface: Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent.
Sealed interfaces can't be annotated with FunctionalInterface
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4