23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * This code is free software; you can redistribute it and/or modify it
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * under the terms of the GNU General Public License version 2 only, as
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * published by the Free Software Foundation. Oracle designates this
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * particular file as subject to the "Classpath" exception as provided
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * by Oracle in the LICENSE file that accompanied this code.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * This code is distributed in the hope that it will be useful, but WITHOUT
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * version 2 for more details (a copy is included in the LICENSE file that
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * accompanied this code).
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * You should have received a copy of the GNU General Public License version
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * 2 along with this work; if not, write to the Free Software Foundation,
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * or visit www.oracle.com if you need additional information or have any
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * questions.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomeeimport com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition;
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Javadoc's own enter phase does a few things above and beyond that
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * done by javac.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * @author Neal Gafter
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee public static JavadocEnter instance0(Context context) {
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee return new JavadocEnter(c);
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee // count all Enter errors as warnings.