public JCDiagnostic mandatoryNote(DiagnosticSource source,String key,Object... args){
  return create(NOTE,null,EnumSet.of(DiagnosticFlag.MANDATORY),source,null,key,args);
}

public JCDiagnostic mandatoryNote ( DiagnosticSource source , String key , Object ... args ) { return create ( NOTE , null , EnumSet . of ( DiagnosticFlag . MANDATORY ) , source , null , key , args ) ; }
create a note diagnostic that will not be hidden by the - nowarn or - xlint : none options .
