Document unsupported/missing ParenPad cases under Use Cases section (original) (raw)

Description:

While working on:

the following content was noticed in the generated ParenPad documentation page under:

"The following cases are not checked"

for ( ; i < j; i++, j--) // no check after left parenthesis for (Iterator it = xs.iterator(); it.hasNext(); ) // no check before right parenthesis try (Closeable resource = acquire(); ) // no check before right parenthesis

Currently these cases appear as plain documentation notes in the HTML page, but they are not represented as dedicated xdoc examples/use cases.

These examples also do not fit well into the new AST-consistent Examples section because:

Proposed improvement: