langtools/src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
changeset 13077 16fb753bb5dc
parent 11055 ec1418effa77
child 14258 8d2148961366
equal deleted inserted replaced
13076:cb848b70d7f4 13077:16fb753bb5dc
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    33 import javax.tools.Diagnostic;
    33 import javax.tools.Diagnostic;
    34 import javax.tools.JavaFileObject;
    34 import javax.tools.JavaFileObject;
    35 
    35 
    36 import com.sun.tools.javac.api.DiagnosticFormatter;
    36 import com.sun.tools.javac.api.DiagnosticFormatter;
    37 import com.sun.tools.javac.code.Lint.LintCategory;
    37 import com.sun.tools.javac.code.Lint.LintCategory;
    38 import com.sun.tools.javac.parser.EndPosTable;
    38 import com.sun.tools.javac.tree.EndPosTable;
    39 import com.sun.tools.javac.tree.JCTree;
    39 import com.sun.tools.javac.tree.JCTree;
    40 
    40 
    41 import static com.sun.tools.javac.util.JCDiagnostic.DiagnosticType.*;
    41 import static com.sun.tools.javac.util.JCDiagnostic.DiagnosticType.*;
    42 
    42 
    43 /** An abstraction of a diagnostic message generated by the compiler.
    43 /** An abstraction of a diagnostic message generated by the compiler.