This inspection reports usages of @TestOnly - or VisibleForTesting
annotated methods and classes in production code.
The problems are not reported if such method or class is referenced from
- code under 'Test Sources' folder
- test-class (JUnit/TestNG)
- another @TestOnly-annotated method