public class com.sun.tools.javac.util.MandatoryWarningHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.util.MandatoryWarningHandler
super_class: java.lang.Object
{
private final com.sun.tools.javac.util.Log log;
descriptor: Lcom/sun/tools/javac/util/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean verbose;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Set<javax.tools.JavaFileObject> sourcesWithReportedWarnings;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljavax/tools/JavaFileObject;>;
private com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind deferredDiagnosticKind;
descriptor: Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
flags: (0x0002) ACC_PRIVATE
private javax.tools.JavaFileObject deferredDiagnosticSource;
descriptor: Ljavax/tools/JavaFileObject;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object deferredDiagnosticArg;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private final boolean enforceMandatory;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.code.Lint$LintCategory lintCategory;
descriptor: Lcom/sun/tools/javac/code/Lint$LintCategory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.sun.tools.javac.util.Log, boolean, boolean, java.lang.String, com.sun.tools.javac.code.Lint$LintCategory);
descriptor: (Lcom/sun/tools/javac/util/Log;ZZLjava/lang/String;Lcom/sun/tools/javac/code/Lint$LintCategory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
2: aload 0
iload 2
putfield com.sun.tools.javac.util.MandatoryWarningHandler.verbose:Z
3: aload 0
aload 4
putfield com.sun.tools.javac.util.MandatoryWarningHandler.prefix:Ljava/lang/String;
4: aload 0
iload 3
putfield com.sun.tools.javac.util.MandatoryWarningHandler.enforceMandatory:Z
5: aload 0
aload 5
putfield com.sun.tools.javac.util.MandatoryWarningHandler.lintCategory:Lcom/sun/tools/javac/code/Lint$LintCategory;
6: return
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 7 0 this Lcom/sun/tools/javac/util/MandatoryWarningHandler;
0 7 1 log Lcom/sun/tools/javac/util/Log;
0 7 2 verbose Z
0 7 3 enforceMandatory Z
0 7 4 prefix Ljava/lang/String;
0 7 5 lc Lcom/sun/tools/javac/code/Lint$LintCategory;
MethodParameters:
Name Flags
log
verbose
enforceMandatory
prefix
lc
public void report(com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition, com.sun.tools.javac.util.JCDiagnostic$Warning);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
invokevirtual com.sun.tools.javac.util.Log.currentSourceFile:()Ljavax/tools/JavaFileObject;
astore 3
start local 3 1: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.verbose:Z
ifeq 22
2: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.sourcesWithReportedWarnings:Ljava/util/Set;
ifnonnull 4
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.tools.javac.util.MandatoryWarningHandler.sourcesWithReportedWarnings:Ljava/util/Set;
4: StackMap locals: javax.tools.JavaFileObject
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
getfield com.sun.tools.javac.util.Log.nwarnings:I
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
getfield com.sun.tools.javac.util.Log.MaxWarnings:I
if_icmpge 8
5: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.MandatoryWarningHandler.logMandatoryWarning:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
6: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.sourcesWithReportedWarnings:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: goto 31
StackMap locals:
StackMap stack:
8: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
ifnonnull 16
9: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.sourcesWithReportedWarnings:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.ADDITIONAL_IN_FILE:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.IN_FILE:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
13: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
14: aload 0
aload 3
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
15: goto 31
StackMap locals:
StackMap stack:
16: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.IN_FILE:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
if_acmpeq 18
17: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.ADDITIONAL_IN_FILE:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
if_acmpne 31
18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
aload 3
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 31
19: aload 0
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.ADDITIONAL_IN_FILES:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
20: aload 0
aconst_null
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
21: goto 31
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
ifnonnull 27
23: aload 0
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.IN_FILE:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
24: aload 0
aload 3
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
25: aload 0
aload 3
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
26: goto 31
StackMap locals:
StackMap stack:
27: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.IN_FILE:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
if_acmpne 31
28: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
aload 3
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 31
29: aload 0
getstatic com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.IN_FILES:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
30: aload 0
aconst_null
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
31: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/tools/javac/util/MandatoryWarningHandler;
0 32 1 pos Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;
0 32 2 warnKey Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
1 32 3 currentSource Ljavax/tools/JavaFileObject;
MethodParameters:
Name Flags
pos
warnKey
public void reportDeferredDiagnostic();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
ifnull 6
1: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
ifnonnull 3
2: aload 0
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.prefix:Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.getKey:(Ljava/lang/String;)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javac.util.MandatoryWarningHandler.logMandatoryNote:(Ljavax/tools/JavaFileObject;Ljava/lang/String;[Ljava/lang/Object;)V
goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.prefix:Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind.getKey:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
aastore
invokevirtual com.sun.tools.javac.util.MandatoryWarningHandler.logMandatoryNote:(Ljavax/tools/JavaFileObject;Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.verbose:Z
ifne 6
5: aload 0
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".recompile"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javac.util.MandatoryWarningHandler.logMandatoryNote:(Ljavax/tools/JavaFileObject;Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/util/MandatoryWarningHandler;
private void logMandatoryWarning(com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition, com.sun.tools.javac.util.JCDiagnostic$Warning);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.enforceMandatory:Z
ifeq 2
1: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.lintCategory:Lcom/sun/tools/javac/code/Lint$LintCategory;
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.Log.mandatoryWarning:(Lcom/sun/tools/javac/code/Lint$LintCategory;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.lintCategory:Lcom/sun/tools/javac/code/Lint$LintCategory;
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.Log.warning:(Lcom/sun/tools/javac/code/Lint$LintCategory;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/MandatoryWarningHandler;
0 4 1 pos Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;
0 4 2 warnKey Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
MethodParameters:
Name Flags
pos
warnKey
private void logMandatoryNote(javax.tools.JavaFileObject, java.lang.String, java.lang.Object[]);
descriptor: (Ljavax/tools/JavaFileObject;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.enforceMandatory:Z
ifeq 2
1: aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
aload 1
new com.sun.tools.javac.util.JCDiagnostic$Note
dup
ldc "compiler"
aload 2
aload 3
invokespecial com.sun.tools.javac.util.JCDiagnostic$Note.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
invokevirtual com.sun.tools.javac.util.Log.mandatoryNote:(Ljavax/tools/JavaFileObject;Lcom/sun/tools/javac/util/JCDiagnostic$Note;)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.MandatoryWarningHandler.log:Lcom/sun/tools/javac/util/Log;
aload 1
new com.sun.tools.javac.util.JCDiagnostic$Note
dup
ldc "compiler"
aload 2
aload 3
invokespecial com.sun.tools.javac.util.JCDiagnostic$Note.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
invokevirtual com.sun.tools.javac.util.Log.note:(Ljavax/tools/JavaFileObject;Lcom/sun/tools/javac/util/JCDiagnostic$Note;)V
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/MandatoryWarningHandler;
0 4 1 file Ljavax/tools/JavaFileObject;
0 4 2 msg Ljava/lang/String;
0 4 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
file
msg
args
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.tools.javac.util.MandatoryWarningHandler.sourcesWithReportedWarnings:Ljava/util/Set;
1: aload 0
aconst_null
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticKind:Lcom/sun/tools/javac/util/MandatoryWarningHandler$DeferredDiagnosticKind;
2: aload 0
aconst_null
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticSource:Ljavax/tools/JavaFileObject;
3: aload 0
aconst_null
putfield com.sun.tools.javac.util.MandatoryWarningHandler.deferredDiagnosticArg:Ljava/lang/Object;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/MandatoryWarningHandler;
}
SourceFile: "MandatoryWarningHandler.java"
NestMembers:
com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind
InnerClasses:
public final LintCategory = com.sun.tools.javac.code.Lint$LintCategory of com.sun.tools.javac.code.Lint
public abstract DiagnosticPosition = com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition 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
private final DeferredDiagnosticKind = com.sun.tools.javac.util.MandatoryWarningHandler$DeferredDiagnosticKind of com.sun.tools.javac.util.MandatoryWarningHandler