类com.sun.tools.javac.util.JCDiagnostic.Note源码实例Demo

下面列出了怎么用com.sun.tools.javac.util.JCDiagnostic.Note的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: deptective   文件: Log.java
public void note(String key, Object... params) {
    // no "raw" API for producing notes; so omitting them on Java 8
    if (registeredResourceBundle) {
        currentLog().note(new Note("compiler", key, params));
    }
}
 
源代码2 项目: lua-for-android   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(Note noteKey) {
    report(diags.note(source, null, noteKey));
}
 
源代码3 项目: lua-for-android   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(DiagnosticPosition pos, Note noteKey) {
    report(diags.note(source, pos, noteKey));
}
 
源代码4 项目: lua-for-android   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(int pos, Note noteKey) {
    report(diags.note(source, wrap(pos), noteKey));
}
 
源代码5 项目: lua-for-android   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(JavaFileObject file, Note noteKey) {
    report(diags.note(getSource(file), null, noteKey));
}
 
源代码6 项目: lua-for-android   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void mandatoryNote(final JavaFileObject file, Note noteKey) {
    report(diags.mandatoryNote(getSource(file), noteKey));
}
 
源代码7 项目: deptective   文件: Log.java
public void note(String key, Object... params) {
    // no "raw" API for producing notes; so omitting them on Java 8
    if (registeredResourceBundle) {
        currentLog().note(new Note("compiler", key, params));
    }
}
 
源代码8 项目: openjdk-jdk9   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(Note noteKey) {
    report(diags.note(source, null, noteKey));
}
 
源代码9 项目: openjdk-jdk9   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(DiagnosticPosition pos, Note noteKey) {
    report(diags.note(source, pos, noteKey));
}
 
源代码10 项目: openjdk-jdk9   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(int pos, Note noteKey) {
    report(diags.note(source, wrap(pos), noteKey));
}
 
源代码11 项目: openjdk-jdk9   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void note(JavaFileObject file, Note noteKey) {
    report(diags.note(getSource(file), null, noteKey));
}
 
源代码12 项目: openjdk-jdk9   文件: AbstractLog.java
/** Provide a non-fatal notification, unless suppressed by the -nowarn option.
 *  @param noteKey    The key for the localized notification message.
 */
public void mandatoryNote(final JavaFileObject file, Note noteKey) {
    report(diags.mandatoryNote(getSource(file), noteKey));
}
 
 类所在包
 类方法
 同包方法