When enabled, only Javadoc comments are formatted according to the current Javadoc settings. Any surrounding source code is left untouched. When you enable this option, the GUI switches its mode and hides all non-Javadoc related options. In order to display the full set of options again, you have to disable the Javadoc-only option. You can control the style of Javadoc comments through the Javadoc settings pages.
Since 1.8
Lets you choose where the brackets of array types should be placed. By default, Jalopy prints the square brackets right after the array type.
But C/C++ programmers may expect them to appear after the identifier instead.
Note that Java allows some strange freedom in the way arrays can be defined. Array brackets may not only appear after either the type or an identifier, but a mixed style is also allowed (though not recommended). Jalopy handles all styles well, but is only able to move the brackets if the dimension of all array declarators is equal.
Jalopy would print the above example as
Example 2.29. Mixed array notation with equal dimensions after formatting
float[][][] f, g, h; // print brackets after type float f[][][], g[][][], h[][][]; // print brackets after identifier
Mixed array declarators with different dimensions will be printed as-is.
When enabled, multi-variables are split into several variable declarations. Otherwise multi-variables are kept and printed according to the current settings.
Since 1.0.1
The Java Language specification allows certain modifiers that are redundant and should be avoided. Enabling this option will ensure that these modifiers are removed where present. The modifiers that will be removed are:
the abstract modifier of interface declarations (see Java
Language specification, section 9.1.1).
public class="bold">abstract interface Fooable { }
the abstract and public modifiers of
method declarations in interfaces (see the Java Language specification, section
9.4).
public interface Fooable { class="bold">public abstract reportFoo(); }
the final modifier of method declarations that are either
declared private or members of class or enum declarations
that are declared final (see the Java Language
specification, section 8.4.3.3).
public class Foo { private class="bold">final performFooOperation() { } }
public final class AnotherFoo { public class="bold">final performAnotherFooOperation() { } }
the public, static and
final modifiers of field declarations in interfaces (see the
Java Language specification, section 9.3).
public interface Foo { class="bold">public static final int FOO_CONSTANT = 1; }
Since 1.5