You can download, LGPL, a Pattern Enforcing Compiler (PEC(TM)) from:
- Posted by: Howard Lovatt
- Posted on: July 20 2004 23:27 EDT
The compiler is easy to use, e.g. add implements Singleton to a class definition to have the Singleton pattern enforced.
You can also write your own patterns and have the compiler enforce these.