we use Compiler pretty extensively here at Yelp, and I'm interesting in making some modifications to support our particular style guidelines and add functionality. I'm having trouble finding good/any documentation on the process of adding a pass to the compiler; are there any good resources for that?
just as one (i think, simple) motivational example, our style guidelines require initial capital letter names on-and-only-on constructors. so i'd like to add a pass that validates that anything that was named with an InitialCapital is indeed marked as an @constructor (and vice versa). i seem to recall something (maybe enforcing the use of === vs. ==) somewhere, but can't recall where I found that. if nothing else, i'm looking for a good (english, not java) overview of the programmatic flow of an invocation of the compiler jar.
thanks for any pointers. btw we love Compiler.