Add Diagnostic class to print debugging information
Add enforcer rule to compile with JDK16