Remove IntelliJ contants ClassName. Make them more generic.

This review is to patch the comments from https://rbcommons.com/s/twitter/r/964/

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/34313082

Reviewed at https://rbcommons.com/s/twitter/r/987/