예제 #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;
 }
예제 #2
0
 protected JavadocEnter(Context context) {
   super(context);
   messager = Messager.instance0(context);
   docenv = DocEnv.instance(context);
 }