public class com.sun.tools.javac.processing.JavacMessager implements javax.annotation.processing.Messager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.processing.JavacMessager
super_class: java.lang.Object
{
com.sun.tools.javac.util.Log log;
descriptor: Lcom/sun/tools/javac/util/Log;
flags: (0x0000)
com.sun.tools.javac.processing.JavacProcessingEnvironment processingEnv;
descriptor: Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;
flags: (0x0000)
int errorCount;
descriptor: I
flags: (0x0000)
int warningCount;
descriptor: I
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$javax$tools$Diagnostic$Kind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(com.sun.tools.javac.util.Context, com.sun.tools.javac.processing.JavacProcessingEnvironment);
descriptor: (Lcom/sun/tools/javac/util/Context;Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.javac.processing.JavacMessager.errorCount:I
2: aload 0
iconst_0
putfield com.sun.tools.javac.processing.JavacMessager.warningCount:I
3: aload 0
aload 1
invokestatic com.sun.tools.javac.util.Log.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
putfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
4: aload 0
aload 2
putfield com.sun.tools.javac.processing.JavacMessager.processingEnv:Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 6 1 context Lcom/sun/tools/javac/util/Context;
0 6 2 processingEnv Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;
MethodParameters:
Name Flags
context
processingEnv
public void printMessage(javax.tools.Diagnostic$Kind, java.lang.CharSequence);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
aconst_null
invokevirtual com.sun.tools.javac.processing.JavacMessager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/AnnotationValue;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 2 1 kind Ljavax/tools/Diagnostic$Kind;
0 2 2 msg Ljava/lang/CharSequence;
MethodParameters:
Name Flags
kind
msg
public void printMessage(javax.tools.Diagnostic$Kind, java.lang.CharSequence, javax.lang.model.element.Element);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;Ljavax/lang/model/element/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
aconst_null
invokevirtual com.sun.tools.javac.processing.JavacMessager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/AnnotationValue;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 2 1 kind Ljavax/tools/Diagnostic$Kind;
0 2 2 msg Ljava/lang/CharSequence;
0 2 3 e Ljavax/lang/model/element/Element;
MethodParameters:
Name Flags
kind
msg
e
public void printMessage(javax.tools.Diagnostic$Kind, java.lang.CharSequence, javax.lang.model.element.Element, javax.lang.model.element.AnnotationMirror);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
invokevirtual com.sun.tools.javac.processing.JavacMessager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/AnnotationValue;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 2 1 kind Ljavax/tools/Diagnostic$Kind;
0 2 2 msg Ljava/lang/CharSequence;
0 2 3 e Ljavax/lang/model/element/Element;
0 2 4 a Ljavax/lang/model/element/AnnotationMirror;
MethodParameters:
Name Flags
kind
msg
e
a
public void printMessage(javax.tools.Diagnostic$Kind, java.lang.CharSequence, javax.lang.model.element.Element, javax.lang.model.element.AnnotationMirror, javax.lang.model.element.AnnotationValue);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/AnnotationValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aconst_null
astore 6
start local 6 1: aconst_null
astore 7
start local 7 2: aconst_null
astore 8
start local 8 3: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.processingEnv:Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;
invokevirtual com.sun.tools.javac.processing.JavacProcessingEnvironment.getElementUtils:()Lcom/sun/tools/javac/model/JavacElements;
astore 9
start local 9 4: aload 9
aload 3
aload 4
aload 5
invokevirtual com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel:(Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/AnnotationValue;)Lcom/sun/tools/javac/util/Pair;
astore 10
start local 10 5: aload 10
ifnull 10
6: aload 10
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
checkcast com.sun.tools.javac.tree.JCTree$JCCompilationUnit
getfield com.sun.tools.javac.tree.JCTree$JCCompilationUnit.sourcefile:Ljavax/tools/JavaFileObject;
astore 7
7: aload 7
ifnull 10
8: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
aload 7
invokevirtual com.sun.tools.javac.util.Log.useSource:(Ljavax/tools/JavaFileObject;)Ljavax/tools/JavaFileObject;
astore 6
9: aload 10
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
checkcast com.sun.tools.javac.tree.JCTree
invokevirtual com.sun.tools.javac.tree.JCTree.pos:()Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;
astore 8
10: StackMap locals: com.sun.tools.javac.processing.JavacMessager javax.tools.Diagnostic$Kind java.lang.CharSequence javax.lang.model.element.Element javax.lang.model.element.AnnotationMirror javax.lang.model.element.AnnotationValue javax.tools.JavaFileObject javax.tools.JavaFileObject com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition com.sun.tools.javac.model.JavacElements com.sun.tools.javac.util.Pair
StackMap stack:
invokestatic com.sun.tools.javac.processing.JavacMessager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:()[I
aload 1
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 11
2: 14
3: 17
default: 20
}
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.processing.JavacMessager.errorCount:I
iconst_1
iadd
putfield com.sun.tools.javac.processing.JavacMessager.errorCount:I
12: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticFlag.MULTIPLE:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticFlag;
aload 8
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokestatic com.sun.tools.javac.resources.CompilerProperties$Errors.ProcMessager:(Ljava/lang/String;)Lcom/sun/tools/javac/util/JCDiagnostic$Error;
invokevirtual com.sun.tools.javac.util.Log.error:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticFlag;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Error;)V
13: goto 26
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.processing.JavacMessager.warningCount:I
iconst_1
iadd
putfield com.sun.tools.javac.processing.JavacMessager.warningCount:I
15: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
aload 8
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokestatic com.sun.tools.javac.resources.CompilerProperties$Warnings.ProcMessager:(Ljava/lang/String;)Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
invokevirtual com.sun.tools.javac.util.Log.warning:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
16: goto 26
17: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.processing.JavacMessager.warningCount:I
iconst_1
iadd
putfield com.sun.tools.javac.processing.JavacMessager.warningCount:I
18: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
aload 8
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokestatic com.sun.tools.javac.resources.CompilerProperties$Warnings.ProcMessager:(Ljava/lang/String;)Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
invokevirtual com.sun.tools.javac.util.Log.mandatoryWarning:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
19: goto 26
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
aload 8
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokestatic com.sun.tools.javac.resources.CompilerProperties$Notes.ProcMessager:(Ljava/lang/String;)Lcom/sun/tools/javac/util/JCDiagnostic$Note;
invokevirtual com.sun.tools.javac.util.Log.note:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Note;)V
21: goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 11
23: aload 7
ifnull 25
24: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
aload 6
invokevirtual com.sun.tools.javac.util.Log.useSource:(Ljavax/tools/JavaFileObject;)Ljavax/tools/JavaFileObject;
pop
25: StackMap locals: java.lang.Throwable
StackMap stack:
aload 11
athrow
26: StackMap locals:
StackMap stack:
aload 7
ifnull 28
27: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.log:Lcom/sun/tools/javac/util/Log;
aload 6
invokevirtual com.sun.tools.javac.util.Log.useSource:(Ljavax/tools/JavaFileObject;)Ljavax/tools/JavaFileObject;
pop
28: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 29 1 kind Ljavax/tools/Diagnostic$Kind;
0 29 2 msg Ljava/lang/CharSequence;
0 29 3 e Ljavax/lang/model/element/Element;
0 29 4 a Ljavax/lang/model/element/AnnotationMirror;
0 29 5 v Ljavax/lang/model/element/AnnotationValue;
1 29 6 oldSource Ljavax/tools/JavaFileObject;
2 29 7 newSource Ljavax/tools/JavaFileObject;
3 29 8 pos Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;
4 29 9 elemUtils Lcom/sun/tools/javac/model/JavacElements;
5 29 10 treeTop Lcom/sun/tools/javac/util/Pair<Lcom/sun/tools/javac/tree/JCTree;Lcom/sun/tools/javac/tree/JCTree$JCCompilationUnit;>;
Exception table:
from to target type
10 22 22 any
MethodParameters:
Name Flags
kind
msg
e
a
v
public void printError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
aload 1
invokevirtual com.sun.tools.javac.processing.JavacMessager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printWarning(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
aload 1
invokevirtual com.sun.tools.javac.processing.JavacMessager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printNotice(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
aload 1
invokevirtual com.sun.tools.javac.processing.JavacMessager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public boolean errorRaised();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.errorCount:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
public int errorCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.errorCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/processing/JavacMessager;
public int warningCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.processing.JavacMessager.warningCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/processing/JavacMessager;
public void newRound();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.tools.javac.processing.JavacMessager.errorCount:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacMessager;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "javac Messager"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/processing/JavacMessager;
static int[] $SWITCH_TABLE$javax$tools$Diagnostic$Kind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.javac.processing.JavacMessager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.tools.Diagnostic$Kind.values:()[Ljavax/tools/Diagnostic$Kind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.tools.Diagnostic$Kind.MANDATORY_WARNING:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.tools.Diagnostic$Kind.OTHER:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic com.sun.tools.javac.processing.JavacMessager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "JavacMessager.java"
InnerClasses:
public Errors = com.sun.tools.javac.resources.CompilerProperties$Errors of com.sun.tools.javac.resources.CompilerProperties
public Notes = com.sun.tools.javac.resources.CompilerProperties$Notes of com.sun.tools.javac.resources.CompilerProperties
public Warnings = com.sun.tools.javac.resources.CompilerProperties$Warnings of com.sun.tools.javac.resources.CompilerProperties
public JCCompilationUnit = com.sun.tools.javac.tree.JCTree$JCCompilationUnit of com.sun.tools.javac.tree.JCTree
public final DiagnosticFlag = com.sun.tools.javac.util.JCDiagnostic$DiagnosticFlag of com.sun.tools.javac.util.JCDiagnostic
public abstract DiagnosticPosition = com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition of com.sun.tools.javac.util.JCDiagnostic
public final Error = com.sun.tools.javac.util.JCDiagnostic$Error of com.sun.tools.javac.util.JCDiagnostic
public final Note = com.sun.tools.javac.util.JCDiagnostic$Note of com.sun.tools.javac.util.JCDiagnostic
public final Warning = com.sun.tools.javac.util.JCDiagnostic$Warning of com.sun.tools.javac.util.JCDiagnostic
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic