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