Java Code Examples for javax.tools.Diagnostic.Kind#OTHER

The following examples show how to use javax.tools.Diagnostic.Kind#OTHER . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ResolveHarness.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 2
Source File: ResolveHarness.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 3
Source File: ResolveHarness.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 4
Source File: ResolveHarness.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 5
Source File: ResolveHarness.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 6
Source File: ResolveHarness.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 7
Source File: ResolveHarness.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 8
Source File: ResolveHarness.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public VerboseCandidateSubdiagProcessor(boolean mostSpecific, Phase phase, boolean success) {
    super(Kind.OTHER,
            "compiler.misc.applicable.method.found",
            "compiler.misc.applicable.method.found.1",
            "compiler.misc.not.applicable.method.found");
    this.mostSpecific = mostSpecific;
    this.phase = phase;
    this.success = success;
}
 
Example 9
Source File: FastBuildJavac.java    From intellij with Apache License 2.0 5 votes vote down vote up
private static Kind decodeKind(String kind) {
  try {
    return Kind.valueOf(kind);
  } catch (IllegalArgumentException e) {
    return Kind.OTHER;
  }
}
 
Example 10
Source File: MessageRouter.java    From Mixin with MIT License 4 votes vote down vote up
@Override
public void printMessage(Kind kind, CharSequence msg) {
    if (kind != Kind.OTHER) {
        this.wrapped.printMessage(kind, msg);
    }
}
 
Example 11
Source File: MessageRouter.java    From Mixin with MIT License 4 votes vote down vote up
@Override
public void printMessage(Kind kind, CharSequence msg, Element e) {
    if (kind != Kind.OTHER) {
        this.wrapped.printMessage(kind, msg, e);
    }
}
 
Example 12
Source File: MessageRouter.java    From Mixin with MIT License 4 votes vote down vote up
@Override
public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a) {
    if (kind != Kind.OTHER) {
        this.wrapped.printMessage(kind, msg, e, a);
    }
}
 
Example 13
Source File: MessageRouter.java    From Mixin with MIT License 4 votes vote down vote up
@Override
public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v) {
    if (kind != Kind.OTHER) {
        this.wrapped.printMessage(kind, msg, e, a, v);
    }
}