Inner class of interface
Reports inner classes in interface
classes.
Some coding standards discourage the use of such classes. The inspection doesn't report enum classes and annotation interfaces.
Use the Ignore inner interfaces of interfaces option to ignore inner interfaces. For example:
interface I {
interface Inner {
}
}
Inspection options
Option | Type | Default |
---|---|---|
Ignore inner interfaces of interfaces | Checkbox | false |
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |
Last modified: 13 July 2023