Example:
class Foo { native public final void foo(); }
After the quick-fix is applied:
class Foo { public final native void foo(); }
Use the inspection settings to:
toggle the reporting of misplaced annotations:
(annotations with ElementType.TYPE_USE
not directly
before the type and after the modifier keywords, or
other annotations not before the modifier keywords).
When this option is disabled, any annotation can be positioned before or after the modifier keywords.
Modifier lists with annotations in between the modifier keywords will always be reported.
specify whether the ElementType.TYPE_USE
annotation should be positioned directly before
a type, even when the annotation has other targets specified.