Reports declarations whose modifiers are not in the canonical preferred order (as stated in the Java Language Specification).

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: