public final class com.sun.tools.javac.util.RawDiagnosticFormatter extends com.sun.tools.javac.util.AbstractDiagnosticFormatter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.javac.util.RawDiagnosticFormatter
super_class: com.sun.tools.javac.util.AbstractDiagnosticFormatter
{
com.sun.tools.javac.util.RawDiagnosticFormatter$RawDiagnosticPosHelper rawDiagnosticPosHelper;
descriptor: Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
flags: (0x0000)
public void <init>(com.sun.tools.javac.util.Options);
descriptor: (Lcom/sun/tools/javac/util/Options;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
new com.sun.tools.javac.util.AbstractDiagnosticFormatter$SimpleConfiguration
dup
aload 1
1: getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SUMMARY:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
2: getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.DETAILS:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
3: getstatic com.sun.tools.javac.api.DiagnosticFormatter$Configuration$DiagnosticPart.SUBDIAGNOSTICS:Lcom/sun/tools/javac/api/DiagnosticFormatter$Configuration$DiagnosticPart;
4: invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
invokespecial com.sun.tools.javac.util.AbstractDiagnosticFormatter$SimpleConfiguration.<init>:(Lcom/sun/tools/javac/util/Options;Ljava/util/Set;)V
invokespecial com.sun.tools.javac.util.AbstractDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/util/JavacMessages;Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter$SimpleConfiguration;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/util/RawDiagnosticFormatter;
0 6 1 options Lcom/sun/tools/javac/util/Options;
MethodParameters:
Name Flags
options
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=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new com.sun.tools.javac.util.RawDiagnosticFormatter$RawDiagnosticPosHelper
dup
aload 1
invokespecial com.sun.tools.javac.util.RawDiagnosticFormatter$RawDiagnosticPosHelper.<init>:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
putfield com.sun.tools.javac.util.RawDiagnosticFormatter.rawDiagnosticPosHelper:Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getPosition:()J
ldc -1
lcmp
ifeq 10
3: aload 3
aload 0
aload 1
iconst_0
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatSource:(Lcom/sun/tools/javac/util/JCDiagnostic;ZLjava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 3
aload 0
aload 1
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.LINE:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 3
aload 0
aload 1
getstatic com.sun.tools.javac.api.DiagnosticFormatter$PositionKind.COLUMN:Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatPosition:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/api/DiagnosticFormatter$PositionKind;Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: goto 15
10: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getSource:()Ljavax/tools/JavaFileObject;
ifnull 14
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getSource:()Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getKind:()Ljavax/tools/JavaFileObject$Kind;
getstatic javax.tools.JavaFileObject$Kind.CLASS:Ljavax/tools/JavaFileObject$Kind;
if_acmpne 14
11: aload 3
aload 0
aload 1
iconst_0
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatSource:(Lcom/sun/tools/javac/util/JCDiagnostic;ZLjava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 3
ldc ":-:-:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: goto 15
14: StackMap locals:
StackMap stack:
aload 3
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 3
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 3
aload 0
aload 1
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatMessage:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: aload 0
aload 1
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.displaySource:(Lcom/sun/tools/javac/util/JCDiagnostic;)Z
ifeq 20
18: aload 3
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 3
aload 0
aload 1
iconst_0
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatSourceLine:(Lcom/sun/tools/javac/util/JCDiagnostic;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
21: aload 0
aconst_null
putfield com.sun.tools.javac.util.RawDiagnosticFormatter.rawDiagnosticPosHelper:Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
22: aload 5
areturn
end local 3 23: StackMap locals: com.sun.tools.javac.util.RawDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale
StackMap stack: java.lang.Exception
pop
24: aload 0
aconst_null
putfield com.sun.tools.javac.util.RawDiagnosticFormatter.rawDiagnosticPosHelper:Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
25: aconst_null
areturn
26: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
27: aload 0
aconst_null
putfield com.sun.tools.javac.util.RawDiagnosticFormatter.rawDiagnosticPosHelper:Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
28: aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/tools/javac/util/RawDiagnosticFormatter;
0 29 1 d Lcom/sun/tools/javac/util/JCDiagnostic;
0 29 2 l Ljava/util/Locale;
2 23 3 buf Ljava/lang/StringBuilder;
Exception table:
from to target type
0 21 23 Class java.lang.Exception
0 21 26 any
23 24 26 any
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=9, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatArguments:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/util/Collection;
astore 4
start local 4 2: aload 3
aload 0
aconst_null
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getCode:()Ljava/lang/String;
aload 4
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.localize:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.isMultiline:()Z
ifeq 17
aload 0
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter$SimpleConfiguration;
invokevirtual com.sun.tools.javac.util.AbstractDiagnosticFormatter$SimpleConfiguration.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 17
4: aload 0
aload 1
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.formatSubdiagnostics:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Lcom/sun/tools/javac/util/List;
astore 5
start local 5 5: aload 5
invokevirtual com.sun.tools.javac.util.List.nonEmpty:()Z
ifeq 17
6: ldc ""
astore 6
start local 6 7: aload 3
ldc ",{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 0
aload 1
aconst_null
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter.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 8
goto 15
StackMap locals: com.sun.tools.javac.util.RawDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.StringBuilder java.util.Collection com.sun.tools.javac.util.List java.lang.String top java.util.Iterator
StackMap stack:
9: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 10: aload 3
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 3
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 3
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 3
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: ldc ","
astore 6
end local 7 15: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
16: aload 3
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 6 end local 5 17: StackMap locals: com.sun.tools.javac.util.RawDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.StringBuilder java.util.Collection
StackMap stack:
aload 3
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 18 0 this Lcom/sun/tools/javac/util/RawDiagnosticFormatter;
0 18 1 d Lcom/sun/tools/javac/util/JCDiagnostic;
0 18 2 l Ljava/util/Locale;
1 18 3 buf Ljava/lang/StringBuilder;
2 18 4 args Ljava/util/Collection<Ljava/lang/String;>;
5 17 5 subDiags Lcom/sun/tools/javac/util/List<Ljava/lang/String;>;
7 17 6 sep Ljava/lang/String;
10 15 7 sub Ljava/lang/String;
MethodParameters:
Name Flags
d
l
protected java.lang.String formatArgument(com.sun.tools.javac.util.JCDiagnostic, java.lang.Object, java.util.Locale);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/lang/Object;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: aload 2
instanceof com.sun.tools.javac.api.Formattable
ifeq 3
1: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 2: goto 11
end local 4 StackMap locals:
StackMap stack:
3: aload 2
instanceof com.sun.tools.javac.tree.JCTree$JCExpression
ifeq 7
4: aload 0
getfield com.sun.tools.javac.util.RawDiagnosticFormatter.rawDiagnosticPosHelper:Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
invokestatic com.sun.tools.javac.util.Assert.checkNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: new java.lang.StringBuilder
dup
ldc "@"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.javac.util.RawDiagnosticFormatter.rawDiagnosticPosHelper:Lcom/sun/tools/javac/util/RawDiagnosticFormatter$RawDiagnosticPosHelper;
aload 2
checkcast com.sun.tools.javac.tree.JCTree$JCExpression
invokevirtual com.sun.tools.javac.util.RawDiagnosticFormatter$RawDiagnosticPosHelper.getPosition:(Lcom/sun/tools/javac/tree/JCTree$JCExpression;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 6: goto 11
end local 4 StackMap locals:
StackMap stack:
7: aload 2
instanceof com.sun.tools.javac.file.PathFileObject
ifeq 10
8: aload 2
checkcast com.sun.tools.javac.file.PathFileObject
invokevirtual com.sun.tools.javac.file.PathFileObject.getShortName:()Ljava/lang/String;
astore 4
start local 4 9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aconst_null
invokespecial com.sun.tools.javac.util.AbstractDiagnosticFormatter.formatArgument:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/String;
astore 4
start local 4 11: StackMap locals: java.lang.String
StackMap stack:
aload 2
instanceof com.sun.tools.javac.util.JCDiagnostic
ifeq 12
new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 13
StackMap locals:
StackMap stack:
12: aload 4
StackMap locals:
StackMap stack: java.lang.String
13: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/javac/util/RawDiagnosticFormatter;
0 14 1 diag Lcom/sun/tools/javac/util/JCDiagnostic;
0 14 2 arg Ljava/lang/Object;
0 14 3 l Ljava/util/Locale;
2 3 4 s Ljava/lang/String;
6 7 4 s Ljava/lang/String;
9 10 4 s Ljava/lang/String;
11 14 4 s Ljava/lang/String;
MethodParameters:
Name Flags
diag
arg
l
protected java.lang.String localize(java.util.Locale, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=2, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 1: aload 4
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: ldc ": "
astore 5
start local 5 3: aload 3
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 9
StackMap locals: com.sun.tools.javac.util.RawDiagnosticFormatter java.util.Locale java.lang.String java.lang.Object[] java.lang.StringBuilder java.lang.String top int int java.lang.Object[]
StackMap stack:
4: aload 9
iload 7
aaload
astore 6
start local 6 5: aload 4
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 4
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: ldc ", "
astore 5
end local 6 8: iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 8
if_icmplt 4
10: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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/RawDiagnosticFormatter;
0 11 1 l Ljava/util/Locale;
0 11 2 key Ljava/lang/String;
0 11 3 args [Ljava/lang/Object;
1 11 4 buf Ljava/lang/StringBuilder;
3 11 5 sep Ljava/lang/String;
5 8 6 o Ljava/lang/Object;
MethodParameters:
Name Flags
l
key
args
public boolean isRaw();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/RawDiagnosticFormatter;
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.RawDiagnosticFormatter.formatMessage:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "RawDiagnosticFormatter.java"
NestMembers:
com.sun.tools.javac.util.RawDiagnosticFormatter$RawDiagnosticPosHelper
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 abstract JCExpression = com.sun.tools.javac.tree.JCTree$JCExpression of com.sun.tools.javac.tree.JCTree
public SimpleConfiguration = com.sun.tools.javac.util.AbstractDiagnosticFormatter$SimpleConfiguration of com.sun.tools.javac.util.AbstractDiagnosticFormatter
RawDiagnosticPosHelper = com.sun.tools.javac.util.RawDiagnosticFormatter$RawDiagnosticPosHelper of com.sun.tools.javac.util.RawDiagnosticFormatter
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject