Cleanup (overspecified class)
IDEA-113062 (using file naming convention to tell top-level classes from inner)

Allows to correctly identify and parse classes with "$" abuse.
Cleanup (misplaced test data)
rename
don't let parentheses interfere with the "Redundant 'if' statement" inspection results
ignore parentheses
replacing an infinite do-while loop with a while loop shouldn't use trickery
replacing infinite while loop with do-while doesn't need 'if'
IDEA-116503 (some improvements to Unix shell scripts)