#594 AvoidModifiersForTypesCheck

Future
closed
nobody
Check (274)
5
2013-11-17
2012-04-08
No

This check disallows some set of modifiers for Java types specified by regexp.

Only 4 types according to Java Spec: static, final, transient, volatile.

Example of check usage:
"static" modifier for ULCComponents is not allowed.
So we can disallow "static" modifier for all ULC* components by setting up an "forbiddenClassesRegexpStatic" option to "ULC.+" regexp String.

Discussion

  • Attached archive contains a patch + raw check files (with and without folders path saving).

     
  • Ivan Sopov
    Ivan Sopov
    2013-11-17

    • status: open --> closed
    • Group: --> Future