public class com.sun.tools.javac.util.RichDiagnosticFormatter extends com.sun.tools.javac.util.ForwardingDiagnosticFormatter<com.sun.tools.javac.util.JCDiagnostic, 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.RichDiagnosticFormatter
super_class: com.sun.tools.javac.util.ForwardingDiagnosticFormatter
{
final com.sun.tools.javac.code.Symtab syms;
descriptor: Lcom/sun/tools/javac/code/Symtab;
flags: (0x0010) ACC_FINAL
final com.sun.tools.javac.code.Types types;
descriptor: Lcom/sun/tools/javac/code/Types;
flags: (0x0010) ACC_FINAL
final com.sun.tools.javac.util.JCDiagnostic$Factory diags;
descriptor: Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
flags: (0x0010) ACC_FINAL
final com.sun.tools.javac.util.JavacMessages messages;
descriptor: Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x0010) ACC_FINAL
protected com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier nameSimplifier;
descriptor: Lcom/sun/tools/javac/util/RichDiagnosticFormatter$ClassNameSimplifier;
flags: (0x0004) ACC_PROTECTED
private com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter printer;
descriptor: Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;
flags: (0x0002) ACC_PRIVATE
java.util.Map<com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind, java.util.Map<com.sun.tools.javac.code.Type, com.sun.tools.javac.util.JCDiagnostic>> whereClauses;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;Ljava/util/Map<Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/util/JCDiagnostic;>;>;
protected com.sun.tools.javac.code.Types$UnaryVisitor<java.lang.Void> typePreprocessor;
descriptor: Lcom/sun/tools/javac/code/Types$UnaryVisitor;
flags: (0x0004) ACC_PROTECTED
Signature: Lcom/sun/tools/javac/code/Types$UnaryVisitor<Ljava/lang/Void;>;
protected com.sun.tools.javac.code.Types$DefaultSymbolVisitor<java.lang.Void, java.lang.Void> symbolPreprocessor;
descriptor: Lcom/sun/tools/javac/code/Types$DefaultSymbolVisitor;
flags: (0x0004) ACC_PROTECTED
Signature: Lcom/sun/tools/javac/code/Types$DefaultSymbolVisitor<Ljava/lang/Void;Ljava/lang/Void;>;
public static com.sun.tools.javac.util.RichDiagnosticFormatter instance(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
invokevirtual com.sun.tools.javac.util.Context.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.sun.tools.javac.util.RichDiagnosticFormatter
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.sun.tools.javac.util.RichDiagnosticFormatter
dup
aload 0
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/util/Context;)V
astore 1
3: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/sun/tools/javac/util/Context;
1 4 1 instance Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
MethodParameters:
Name Flags
context
protected void <init>(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.javac.util.Log.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
invokevirtual com.sun.tools.javac.util.Log.getDiagnosticFormatter:()Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
invokespecial com.sun.tools.javac.util.ForwardingDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/api/DiagnosticFormatter;)V
1: aload 0
2: new com.sun.tools.javac.util.RichDiagnosticFormatter$1
dup
aload 0
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter$1.<init>:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter;)V
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.typePreprocessor:Lcom/sun/tools/javac/code/Types$UnaryVisitor;
3: aload 0
4: new com.sun.tools.javac.util.RichDiagnosticFormatter$2
dup
aload 0
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter$2.<init>:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter;)V
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.symbolPreprocessor:Lcom/sun/tools/javac/code/Types$DefaultSymbolVisitor;
5: aload 0
new com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter
dup
aload 0
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter.<init>:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter;)V
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.setRichPrinter:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;)V
6: aload 0
aload 1
invokestatic com.sun.tools.javac.code.Symtab.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Symtab;
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.syms:Lcom/sun/tools/javac/code/Symtab;
7: aload 0
aload 1
invokestatic com.sun.tools.javac.util.JCDiagnostic$Factory.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.diags:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
8: aload 0
aload 1
invokestatic com.sun.tools.javac.code.Types.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Types;
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.types:Lcom/sun/tools/javac/code/Types;
9: aload 0
aload 1
invokestatic com.sun.tools.javac.util.JavacMessages.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/JavacMessages;
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.messages:Lcom/sun/tools/javac/util/JavacMessages;
10: aload 0
new java.util.EnumMap
dup
ldc Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
11: aload 0
new com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration
dup
aload 1
invokestatic com.sun.tools.javac.util.Options.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Options;
aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.formatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration.<init>:(Lcom/sun/tools/javac/util/Options;Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter;)V
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.configuration:Lcom/sun/tools/javac/util/ForwardingDiagnosticFormatter$ForwardingConfiguration;
12: invokestatic com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind.values:()[Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 16
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.Context top int int com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind[]
StackMap stack:
13: aload 5
iload 3
aaload
astore 2
start local 2 14: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
aload 2
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 15: iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 4
if_icmplt 13
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 18 1 context Lcom/sun/tools/javac/util/Context;
14 15 2 kind Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
MethodParameters:
Name Flags
context
public java.lang.String format(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=4, 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
new com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier
dup
aload 0
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier.<init>:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter;)V
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.nameSimplifier:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$ClassNameSimplifier;
2: invokestatic com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind.values:()[Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.StringBuilder top int int com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.clear:()V
end local 4 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 3
7: aload 0
aload 1
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessDiagnostic:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
8: aload 3
aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.formatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.AbstractDiagnosticFormatter.format:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichConfiguration;
getstatic com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration$RichFormatterFeature.WHERE_CLAUSES:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichConfiguration$RichFormatterFeature;
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration.isEnabled:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichConfiguration$RichFormatterFeature;)Z
ifeq 20
10: aload 0
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.getWhereClauses:()Lcom/sun/tools/javac/util/List;
astore 4
start local 4 11: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.formatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
invokevirtual com.sun.tools.javac.util.AbstractDiagnosticFormatter.isRaw:()Z
ifeq 12
ldc ""
goto 13
12: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.StringBuilder com.sun.tools.javac.util.List
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.formatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
iconst_2
invokevirtual com.sun.tools.javac.util.AbstractDiagnosticFormatter.indentString:(I)Ljava/lang/String;
13: StackMap locals:
StackMap stack: java.lang.String
astore 5
start local 5 14: aload 4
invokevirtual com.sun.tools.javac.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 19
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.StringBuilder com.sun.tools.javac.util.List java.lang.String top java.util.Iterator
StackMap stack:
15: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.util.JCDiagnostic
astore 6
start local 6 16: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.formatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
aload 6
aload 2
invokevirtual com.sun.tools.javac.util.AbstractDiagnosticFormatter.format:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
astore 8
start local 8 17: aload 8
invokevirtual java.lang.String.length:()I
ifle 19
18: aload 3
new java.lang.StringBuilder
dup
bipush 10
invokestatic java.lang.String.valueOf:(C)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;
aload 8
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 end local 6 19: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 5 end local 4 20: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic java.util.Locale java.lang.StringBuilder
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 21 1 diag Lcom/sun/tools/javac/util/JCDiagnostic;
0 21 2 l Ljava/util/Locale;
1 21 3 sb Ljava/lang/StringBuilder;
4 5 4 kind Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
11 20 4 clauses Lcom/sun/tools/javac/util/List<Lcom/sun/tools/javac/util/JCDiagnostic;>;
14 20 5 indent Ljava/lang/String;
16 19 6 d Lcom/sun/tools/javac/util/JCDiagnostic;
17 19 8 whereClause Ljava/lang/String;
MethodParameters:
Name Flags
diag
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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier
dup
aload 0
invokespecial com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier.<init>:(Lcom/sun/tools/javac/util/RichDiagnosticFormatter;)V
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.nameSimplifier:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$ClassNameSimplifier;
1: aload 0
aload 1
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessDiagnostic:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
2: aload 0
aload 1
aload 2
invokespecial com.sun.tools.javac.util.ForwardingDiagnosticFormatter.formatMessage:(Ljavax/tools/Diagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 3 1 diag Lcom/sun/tools/javac/util/JCDiagnostic;
0 3 2 l Ljava/util/Locale;
MethodParameters:
Name Flags
diag
l
protected void setRichPrinter(com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter);
descriptor: (Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.javac.util.RichDiagnosticFormatter.printer:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;
1: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.formatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
checkcast com.sun.tools.javac.util.AbstractDiagnosticFormatter
aload 1
invokevirtual com.sun.tools.javac.util.AbstractDiagnosticFormatter.setPrinter:(Lcom/sun/tools/javac/code/Printer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 3 1 printer Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;
MethodParameters:
Name Flags
printer
protected com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter getRichPrinter();
descriptor: ()Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.printer:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichPrinter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
protected void preprocessDiagnostic(com.sun.tools.javac.util.JCDiagnostic);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getArgs:()[Ljava/lang/Object;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic top int int java.lang.Object[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 0
aload 2
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessArgument:(Ljava/lang/Object;)V
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.isMultiline:()Z
ifeq 11
7: aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic.getSubdiagnostics:()Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.util.JCDiagnostic
astore 2
start local 2 9: aload 0
aload 2
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessDiagnostic:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.JCDiagnostic
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 12 1 diag Lcom/sun/tools/javac/util/JCDiagnostic;
2 4 2 o Ljava/lang/Object;
9 10 2 d Lcom/sun/tools/javac/util/JCDiagnostic;
MethodParameters:
Name Flags
diag
protected void preprocessArgument(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.javac.code.Type
ifeq 3
1: aload 0
aload 1
checkcast com.sun.tools.javac.code.Type
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessType:(Lcom/sun/tools/javac/code/Type;)V
2: goto 14
3: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.tools.javac.code.Symbol
ifeq 6
4: aload 0
aload 1
checkcast com.sun.tools.javac.code.Symbol
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessSymbol:(Lcom/sun/tools/javac/code/Symbol;)V
5: goto 14
6: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.tools.javac.util.JCDiagnostic
ifeq 9
7: aload 0
aload 1
checkcast com.sun.tools.javac.util.JCDiagnostic
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessDiagnostic:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
8: goto 14
9: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Iterable
ifeq 14
aload 1
instanceof java.nio.file.Path
ifne 14
10: aload 1
checkcast java.lang.Iterable
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter java.lang.Object top java.util.Iterator
StackMap stack:
11: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 12: aload 0
aload 2
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter.preprocessArgument:(Ljava/lang/Object;)V
end local 2 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter java.lang.Object
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 15 1 arg Ljava/lang/Object;
12 13 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
arg
protected com.sun.tools.javac.util.List<com.sun.tools.javac.util.JCDiagnostic> getWhereClauses();
descriptor: ()Lcom/sun/tools/javac/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=1
start local 0 0: invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
astore 1
start local 1 1: invokestatic com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind.values:()[Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 16
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.List top int int com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
astore 6
start local 6 4: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 7
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.List com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind int int com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind[] com.sun.tools.javac.util.List top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 6: aload 6
aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.sun.tools.javac.util.JCDiagnostic
invokevirtual com.sun.tools.javac.util.List.prepend:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
astore 6
end local 7 7: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 6
invokevirtual com.sun.tools.javac.util.List.isEmpty:()Z
ifne 15
9: aload 2
invokevirtual com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind.key:()Ljava/lang/String;
astore 7
start local 7 10: aload 6
invokevirtual com.sun.tools.javac.util.List.size:()I
iconst_1
if_icmple 12
11: new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
12: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.List com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind int int com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind[] com.sun.tools.javac.util.List java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.diags:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
aload 7
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aastore
invokevirtual com.sun.tools.javac.util.JCDiagnostic$Factory.fragment:(Ljava/lang/String;[Ljava/lang/Object;)Lcom/sun/tools/javac/util/JCDiagnostic;
astore 8
start local 8 13: new com.sun.tools.javac.util.JCDiagnostic$MultilineDiagnostic
dup
aload 8
aload 6
invokevirtual com.sun.tools.javac.util.List.reverse:()Lcom/sun/tools/javac/util/List;
invokespecial com.sun.tools.javac.util.JCDiagnostic$MultilineDiagnostic.<init>:(Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/util/List;)V
astore 8
14: aload 1
aload 8
invokevirtual com.sun.tools.javac.util.List.prepend:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
astore 1
end local 8 end local 7 end local 6 end local 2 15: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.util.List top int int com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 4
if_icmplt 2
17: aload 1
invokevirtual com.sun.tools.javac.util.List.reverse:()Lcom/sun/tools/javac/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
1 18 1 clauses Lcom/sun/tools/javac/util/List<Lcom/sun/tools/javac/util/JCDiagnostic;>;
3 15 2 kind Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
4 15 6 lines Lcom/sun/tools/javac/util/List<Lcom/sun/tools/javac/util/JCDiagnostic;>;
6 7 7 entry Ljava/util/Map$Entry<Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/util/JCDiagnostic;>;
10 15 7 key Ljava/lang/String;
13 15 8 d Lcom/sun/tools/javac/util/JCDiagnostic;
Signature: ()Lcom/sun/tools/javac/util/List<Lcom/sun/tools/javac/util/JCDiagnostic;>;
private int indexOf(com.sun.tools.javac.code.Type, com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind);
descriptor: (Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.code.Type com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.code.Type
astore 4
start local 4 3: aload 4
getfield com.sun.tools.javac.code.Type.tsym:Lcom/sun/tools/javac/code/Symbol$TypeSymbol;
aload 1
getfield com.sun.tools.javac.code.Type.tsym:Lcom/sun/tools/javac/code/Symbol$TypeSymbol;
if_acmpne 5
4: iload 3
ireturn
5: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.code.Type com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind int com.sun.tools.javac.code.Type java.util.Iterator
StackMap stack:
aload 2
getstatic com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind.TYPEVAR:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
if_acmpne 7
6: aload 4
invokevirtual com.sun.tools.javac.code.Type.toString:()Ljava/lang/String;
aload 1
invokevirtual com.sun.tools.javac.code.Type.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: StackMap locals:
StackMap stack:
iinc 3 1
end local 4 8: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.code.Type com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iconst_m1
ireturn
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/RichDiagnosticFormatter;
0 10 1 type Lcom/sun/tools/javac/code/Type;
0 10 2 kind Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
1 10 3 index I
3 8 4 t Lcom/sun/tools/javac/code/Type;
MethodParameters:
Name Flags
type
kind
private boolean unique(com.sun.tools.javac.code.Type$TypeVar);
descriptor: (Lcom/sun/tools/javac/code/Type$TypeVar;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.javac.code.Type$TypeVar.stripMetadata:()Lcom/sun/tools/javac/code/Type;
checkcast com.sun.tools.javac.code.Type$TypeVar
astore 1
1: iconst_0
istore 2
start local 2 2: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.whereClauses:Ljava/util/Map;
getstatic com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind.TYPEVAR:Lcom/sun/tools/javac/util/RichDiagnosticFormatter$WhereClauseKind;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.code.Type$TypeVar int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.code.Type
astore 3
start local 3 4: aload 3
invokevirtual com.sun.tools.javac.code.Type.stripMetadata:()Lcom/sun/tools/javac/code/Type;
invokevirtual com.sun.tools.javac.code.Type.toString:()Ljava/lang/String;
aload 1
invokevirtual com.sun.tools.javac.code.Type$TypeVar.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iinc 2 1
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iload 2
iconst_1
if_icmpge 9
8: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Missing type variable in where clause: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals: com.sun.tools.javac.util.RichDiagnosticFormatter com.sun.tools.javac.code.Type$TypeVar int
StackMap stack:
iload 2
iconst_1
if_icmpne 10
iconst_1
ireturn
StackMap locals:
StackMap stack:
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 11 1 typevar Lcom/sun/tools/javac/code/Type$TypeVar;
2 11 2 found I
4 6 3 t Lcom/sun/tools/javac/code/Type;
MethodParameters:
Name Flags
typevar
protected void preprocessType(com.sun.tools.javac.code.Type);
descriptor: (Lcom/sun/tools/javac/code/Type;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.typePreprocessor:Lcom/sun/tools/javac/code/Types$UnaryVisitor;
aload 1
invokevirtual com.sun.tools.javac.code.Types$UnaryVisitor.visit:(Lcom/sun/tools/javac/code/Type;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 2 1 t Lcom/sun/tools/javac/code/Type;
MethodParameters:
Name Flags
t
protected void preprocessSymbol(com.sun.tools.javac.code.Symbol);
descriptor: (Lcom/sun/tools/javac/code/Symbol;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.symbolPreprocessor:Lcom/sun/tools/javac/code/Types$DefaultSymbolVisitor;
aload 1
aconst_null
invokevirtual com.sun.tools.javac.code.Types$DefaultSymbolVisitor.visit:(Lcom/sun/tools/javac/code/Symbol;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
0 2 1 s Lcom/sun/tools/javac/code/Symbol;
MethodParameters:
Name Flags
s
public com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration getConfiguration();
descriptor: ()Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.RichDiagnosticFormatter.configuration:Lcom/sun/tools/javac/util/ForwardingDiagnosticFormatter$ForwardingConfiguration;
checkcast com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/RichDiagnosticFormatter;
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.RichDiagnosticFormatter.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.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.RichDiagnosticFormatter.getConfiguration:()Lcom/sun/tools/javac/util/RichDiagnosticFormatter$RichConfiguration;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String format(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.RichDiagnosticFormatter.format:(Lcom/sun/tools/javac/util/JCDiagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/sun/tools/javac/util/ForwardingDiagnosticFormatter<Lcom/sun/tools/javac/util/JCDiagnostic;Lcom/sun/tools/javac/util/AbstractDiagnosticFormatter;>;
SourceFile: "RichDiagnosticFormatter.java"
NestMembers:
com.sun.tools.javac.util.RichDiagnosticFormatter$1 com.sun.tools.javac.util.RichDiagnosticFormatter$2 com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration$RichFormatterFeature com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind
InnerClasses:
public abstract Configuration = com.sun.tools.javac.api.DiagnosticFormatter$Configuration of com.sun.tools.javac.api.DiagnosticFormatter
public TypeVar = com.sun.tools.javac.code.Type$TypeVar of com.sun.tools.javac.code.Type
public abstract DefaultSymbolVisitor = com.sun.tools.javac.code.Types$DefaultSymbolVisitor of com.sun.tools.javac.code.Types
public abstract UnaryVisitor = com.sun.tools.javac.code.Types$UnaryVisitor of com.sun.tools.javac.code.Types
public Factory = com.sun.tools.javac.util.JCDiagnostic$Factory of com.sun.tools.javac.util.JCDiagnostic
public MultilineDiagnostic = com.sun.tools.javac.util.JCDiagnostic$MultilineDiagnostic of com.sun.tools.javac.util.JCDiagnostic
com.sun.tools.javac.util.RichDiagnosticFormatter$1
com.sun.tools.javac.util.RichDiagnosticFormatter$2
protected ClassNameSimplifier = com.sun.tools.javac.util.RichDiagnosticFormatter$ClassNameSimplifier of com.sun.tools.javac.util.RichDiagnosticFormatter
public RichConfiguration = com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration of com.sun.tools.javac.util.RichDiagnosticFormatter
public final RichFormatterFeature = com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration$RichFormatterFeature of com.sun.tools.javac.util.RichDiagnosticFormatter$RichConfiguration
protected RichPrinter = com.sun.tools.javac.util.RichDiagnosticFormatter$RichPrinter of com.sun.tools.javac.util.RichDiagnosticFormatter
final WhereClauseKind = com.sun.tools.javac.util.RichDiagnosticFormatter$WhereClauseKind of com.sun.tools.javac.util.RichDiagnosticFormatter
public abstract Entry = java.util.Map$Entry of java.util.Map