public class com.sun.tools.javac.util.BasicDiagnosticFormatter extends com.sun.tools.javac.util.AbstractDiagnosticFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.util.BasicDiagnosticFormatter
super_class: com.sun.tools.javac.util.AbstractDiagnosticFormatter
{
private static volatile int[] $SWITCH_TABLE$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(com.sun.tools.javac.util.Options, com.sun.tools.javac.util.JavacMessages);
descriptor: (Lcom/sun/tools/javac/util/Options;Lcom/sun/tools/javac/util/JavacMessages;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
new com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration
dup
aload 1
invokespecial com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.<init>:(Lcom/sun/tools/javac/util/Options;)V
invokespecial com.sun.tools.javac.util.AbstractDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/util/JavacMessages;Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter$SimpleConfiguration;)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/util/BasicDiagnosticFormatter;
0 2 1 options Lcom/sun/tools/javac/util/Options;
0 2 2 msgs Lcom/sun/tools/javac/util/JavacMessages;
MethodParameters:
Name Flags
options
msgs
public void <init>(com.sun.tools.javac.util.JavacMessages);
descriptor: (Lcom/sun/tools/javac/util/JavacMessages;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration
dup
invokespecial com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.<init>:()V
invokespecial com.sun.tools.javac.util.AbstractDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/util/JavacMessages;Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter$SimpleConfiguration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
0 2 1 msgs Lcom/sun/tools/javac/util/JavacMessages;
MethodParameters:
Name Flags
msgs
public java.lang.String formatDiagnostic(com.sun.tools.javac.util.JCDiagnostic, java.util.Locale);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
getfield com.sun.tools.javac.util.BasicDiagnosticFormatter.messages:Lcom/sun/tools/javac/util/JavacMessages;
invokevirtual com.sun.tools.javac.util.JavacMessages.getCurrentLocale:()Ljava/util/Locale;
astore 2
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.selectFormat:(Lcom/sun/tools/javac/util/JCDiagnostic;)Ljava/lang/String;
astore 3
start local 3 3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 15
6: StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: iload 6
bipush 37
if_icmpne 11
iload 5
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpge 11
9: iconst_1
istore 7
10: aload 3
iinc 5 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
11: StackMap locals: int int
StackMap stack:
aload 4
iload 7
ifeq 12
aload 0
iload 6
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatMeta:(CLcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
goto 13
StackMap locals:
StackMap stack: java.lang.StringBuilder
12: iload 6
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
StackMap locals: com.sun.tools.javac.util.BasicDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.String java.lang.StringBuilder int int int
StackMap stack: java.lang.StringBuilder java.lang.String
13: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 end local 6 14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 5 16: aload 0
getfield com.sun.tools.javac.util.BasicDiagnosticFormatter.depth:I
ifne 18
17: aload 0
aload 1
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.addSourceLineIfNeeded:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/lang/String;)Ljava/lang/String;
areturn
18: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
0 19 1 d Lcom/sun/tools/javac/util/JCDiagnostic;
0 19 2 l Ljava/util/Locale;
3 19 3 format Ljava/lang/String;
4 19 4 buf Ljava/lang/StringBuilder;
5 16 5 i I
7 14 6 c C
8 14 7 meta Z
MethodParameters:
Name Flags
d
l
public java.lang.String formatMessage(com.sun.tools.javac.util.JCDiagnostic, java.util.Locale);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 2: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatArguments:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/util/Collection;
astore 5
start local 5 3: aload 0
aload 2
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getCode:()Ljava/lang/String;
aload 5
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.localize:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 4: aload 6
ldc "\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 5: aload 7
arraylength
ifne 7
6: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc ""
aastore
astore 7
7: StackMap locals: com.sun.tools.javac.util.BasicDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale int java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String[]
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getVisible:()Ljava/util/EnumSet;
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SUMMARY:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 10
8: iload 3
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SUMMARY:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getIndentation:(Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;)I
iadd
istore 3
9: aload 4
aload 0
aload 7
iconst_0
aaload
iload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.indent:(Ljava/lang/String;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 7
arraylength
iconst_1
if_icmple 17
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getVisible:()Ljava/util/EnumSet;
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.DETAILS:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 17
11: iload 3
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.DETAILS:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getIndentation:(Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;)I
iadd
istore 3
12: iconst_1
istore 8
start local 8 13: goto 16
14: StackMap locals: int
StackMap stack:
aload 4
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 7
iload 8
aaload
iload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.indent:(Ljava/lang/String;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
aload 7
arraylength
if_icmplt 14
end local 8 17: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.isMultiline:()Z
ifeq 23
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getVisible:()Ljava/util/EnumSet;
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SUBDIAGNOSTICS:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 23
18: iload 3
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SUBDIAGNOSTICS:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getIndentation:(Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;)I
iadd
istore 3
19: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatSubdiagnostics:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 22
StackMap locals: com.sun.tools.javac.util.BasicDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale int java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String[] top java.util.Iterator
StackMap stack:
20: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 21: aload 4
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 8
iload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.indent:(Ljava/lang/String;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 22: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
23: StackMap locals: com.sun.tools.javac.util.BasicDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale int java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String[]
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 24 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
0 24 1 d Lcom/sun/tools/javac/util/JCDiagnostic;
0 24 2 l Ljava/util/Locale;
1 24 3 currentIndentation I
2 24 4 buf Ljava/lang/StringBuilder;
3 24 5 args Ljava/util/Collection<Ljava/lang/String;>;
4 24 6 msg Ljava/lang/String;
5 24 7 lines [Ljava/lang/String;
13 17 8 i I
21 22 8 sub Ljava/lang/String;
MethodParameters:
Name Flags
d
l
protected java.lang.String addSourceLineIfNeeded(com.sun.tools.javac.util.JCDiagnostic, java.lang.String);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.displaySource:(Lcom/sun/tools/javac/util/JCDiagnostic;)Z
ifne 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
astore 3
start local 3 3: aload 3
getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SOURCE:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getIndentation:(Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;)I
istore 4
start local 4 4: new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
iload 4
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatSourceLine:(Lcom/sun/tools/javac/util/JCDiagnostic;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 5: aload 2
ldc "\n"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 6
iconst_0
goto 7
StackMap locals: com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration int java.lang.String
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: iload 6
ifne 9
aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getSourcePosition:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$SourcePosition;
getstatic com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$SourcePosition.BOTTOM:Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$SourcePosition;
if_acmpne 10
9: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 2
ldc "\n"
new java.lang.StringBuilder
dup
aload 5
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
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 11 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
0 11 1 d Lcom/sun/tools/javac/util/JCDiagnostic;
0 11 2 msg Ljava/lang/String;
3 11 3 conf Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
4 11 4 indentSource I
5 11 5 sourceLine Ljava/lang/String;
8 11 6 singleLine Z
MethodParameters:
Name Flags
d
msg
protected java.lang.String formatMeta(char, com.sun.tools.javac.util.JCDiagnostic, java.util.Locale);
descriptor: (CLcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
lookupswitch { // 13
37: 23
76: 21
95: 22
98: 1
99: 5
101: 2
102: 3
108: 4
109: 20
111: 6
112: 7
115: 8
116: 9
default: 24
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_0
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatSource:(Lcom/sun/tools/javac/util/JCDiagnostic;ZLjava/util/Locale;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 2
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.END:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_1
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatSource:(Lcom/sun/tools/javac/util/JCDiagnostic;ZLjava/util/Locale;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 2
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.LINE:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 2
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.COLUMN:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 2
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.OFFSET:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatKind:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 2
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.START:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.javac.util.BasicDiagnosticFormatter.$SWITCH_TABLE$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType:()[I
aload 2
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getType:()Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 10
2: 16
3: 16
4: 12
default: 16
}
10: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 11: goto 17
end local 4 12: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getIntPosition:()I
iconst_m1
if_icmpne 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 4
start local 4 15: goto 17
end local 4 16: StackMap locals:
StackMap stack:
iconst_1
istore 4
start local 4 17: StackMap locals: int
StackMap stack:
iload 4
ifeq 19
18: aload 0
aload 2
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatKind:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
19: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 4 20: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatMessage:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
21: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatLintCategory:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
22: StackMap locals:
StackMap stack:
ldc " "
areturn
23: StackMap locals:
StackMap stack:
ldc "%"
areturn
24: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
0 25 1 c C
0 25 2 d Lcom/sun/tools/javac/util/JCDiagnostic;
0 25 3 l Ljava/util/Locale;
11 12 4 usePrefix Z
15 16 4 usePrefix Z
17 20 4 usePrefix Z
MethodParameters:
Name Flags
c
d
l
private java.lang.String selectFormat(com.sun.tools.javac.util.JCDiagnostic);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getDiagnosticSource:()Lcom/sun/tools/javac/util/DiagnosticSource;
astore 2
start local 2 1: aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
getstatic com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind.DEFAULT_NO_POS_FORMAT:Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getFormat:(Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind;)Ljava/lang/String;
astore 3
start local 3 2: aload 2
ifnull 9
aload 2
getstatic com.sun.tools.javac.util.DiagnosticSource.NO_SOURCE:Lcom/sun/tools/javac/util/DiagnosticSource;
if_acmpeq 9
3: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getIntPosition:()I
iconst_m1
if_icmpeq 6
4: aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
getstatic com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind.DEFAULT_POS_FORMAT:Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getFormat:(Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind;)Ljava/lang/String;
astore 3
5: goto 9
StackMap locals: com.sun.tools.javac.util.DiagnosticSource java.lang.String
StackMap stack:
6: aload 2
invokevirtual com.sun.tools.javac.util.DiagnosticSource.getFile:()Ljavax/tools/JavaFileObject;
ifnull 9
7: aload 2
invokevirtual com.sun.tools.javac.util.DiagnosticSource.getFile:()Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getKind:()Ljavax/tools/JavaFileObject$Kind;
getstatic javax.tools.JavaFileObject$Kind.CLASS:Ljavax/tools/JavaFileObject$Kind;
if_acmpne 9
8: aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
getstatic com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind.DEFAULT_CLASS_FORMAT:Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind;
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration.getFormat:(Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind;)Ljava/lang/String;
astore 3
9: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
0 10 1 d Lcom/sun/tools/javac/util/JCDiagnostic;
1 10 2 source Lcom/sun/tools/javac/util/DiagnosticSource;
2 10 3 format Ljava/lang/String;
MethodParameters:
Name Flags
d
public com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration getConfiguration();
descriptor: ()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.javac.util.AbstractDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter$SimpleConfiguration;
checkcast com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/BasicDiagnosticFormatter;
public java.lang.String formatMessage(javax.tools.Diagnostic, java.util.Locale);
descriptor: (Ljavax/tools/Diagnostic;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.sun.tools.javac.util.JCDiagnostic
aload 2
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.formatMessage:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.sun.tools.javac.util.AbstractDiagnosticFormatter$SimpleConfiguration getConfiguration();
descriptor: ()Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter$SimpleConfiguration;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.sun.tools.javac.api.DiagnosticFormatter$Configuration getConfiguration();
descriptor: ()Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.tools.javac.util.BasicDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/BasicDiagnosticFormatter$BasicConfiguration;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.javac.util.BasicDiagnosticFormatter.$SWITCH_TABLE$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.values:()[Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ERROR:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.FRAGMENT:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.NOTE:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.WARNING:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.sun.tools.javac.util.BasicDiagnosticFormatter.$SWITCH_TABLE$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType:[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
}
SourceFile: "BasicDiagnosticFormatter.java"
NestMembers:
com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$SourcePosition
InnerClasses:
public abstract Configuration = com.sun.tools.javac.api.DiagnosticFormatter$Configuration of com.sun.tools.javac.api.DiagnosticFormatter
public final DiagnosticPart = com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart of com.sun.tools.javac.api.DiagnosticFormatter$Configuration
public final PositionKind = com.sun.tools.javac.api.DiagnosticFormatter$PositionKind of com.sun.tools.javac.api.DiagnosticFormatter
public SimpleConfiguration = com.sun.tools.javac.util.AbstractDiagnosticFormatter$SimpleConfiguration of com.sun.tools.javac.util.AbstractDiagnosticFormatter
public BasicConfiguration = com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration of com.sun.tools.javac.util.BasicDiagnosticFormatter
public final BasicFormatKind = com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$BasicFormatKind of com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration
public final SourcePosition = com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration$SourcePosition of com.sun.tools.javac.util.BasicDiagnosticFormatter$BasicConfiguration
public final DiagnosticType = com.sun.tools.javac.util.JCDiagnostic$DiagnosticType of com.sun.tools.javac.util.JCDiagnostic
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject