Exemple #1
0
 @Override
 public void main(List<JCCompilationUnit> trees) {
   // count all Enter errors as warnings.
   int nerrors = messager.nerrors;
   super.main(trees);
   messager.nwarnings += (messager.nerrors - nerrors);
   messager.nerrors = nerrors;
 }
Exemple #2
0
 protected JavadocEnter(Context context) {
   super(context);
   messager = Messager.instance0(context);
   docenv = DocEnv.instance(context);
 }