public class jdk.javadoc.internal.tool.Messager extends com.sun.tools.javac.util.Log implements jdk.javadoc.doclet.Reporter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.tool.Messager
super_class: com.sun.tools.javac.util.Log
{
final com.sun.tools.javac.util.Context context;
descriptor: Lcom/sun/tools/javac/util/Context;
flags: (0x0010) ACC_FINAL
final java.lang.String programName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private final com.sun.tools.javac.util.JavacMessages messages;
descriptor: Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.util.JCDiagnostic$Factory javadocDiags;
descriptor: Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final java.io.PrintWriter defaultOutWriter;
descriptor: Ljava/io/PrintWriter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.io.PrintWriter defaultErrWriter;
descriptor: Ljava/io/PrintWriter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$javax$tools$Diagnostic$Kind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.PrintWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
putstatic jdk.javadoc.internal.tool.Messager.defaultOutWriter:Ljava/io/PrintWriter;
1: new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
putstatic jdk.javadoc.internal.tool.Messager.defaultErrWriter:Ljava/io/PrintWriter;
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.javadoc.internal.tool.Messager instance0(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Ljdk/javadoc/internal/tool/Messager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic jdk.javadoc.internal.tool.Messager.logKey:Lcom/sun/tools/javac/util/Context$Key;
invokevirtual com.sun.tools.javac.util.Context.get:(Lcom/sun/tools/javac/util/Context$Key;)Ljava/lang/Object;
checkcast com.sun.tools.javac.util.Log
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
instanceof jdk.javadoc.internal.tool.Messager
ifne 3
2: StackMap locals: com.sun.tools.javac.util.Log
StackMap stack:
new java.lang.InternalError
dup
ldc "no messager instance!"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.javadoc.internal.tool.Messager
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/Log;
MethodParameters:
Name Flags
context
public static void preRegister(com.sun.tools.javac.util.Context, java.lang.String);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic jdk.javadoc.internal.tool.Messager.logKey:Lcom/sun/tools/javac/util/Context$Key;
aload 1
invokedynamic make(Ljava/lang/String;)Lcom/sun/tools/javac/util/Context$Factory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/sun/tools/javac/util/Context;)Ljava/lang/Object;
jdk/javadoc/internal/tool/Messager.lambda$0(Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log; (6)
(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Lcom/sun/tools/javac/util/Context$Factory;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/sun/tools/javac/util/Context;
0 2 1 programName Ljava/lang/String;
MethodParameters:
Name Flags
context
programName final
public static void preRegister(com.sun.tools.javac.util.Context, java.lang.String, java.io.PrintWriter, java.io.PrintWriter);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic jdk.javadoc.internal.tool.Messager.logKey:Lcom/sun/tools/javac/util/Context$Key;
aload 1
aload 2
aload 3
invokedynamic make(Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Lcom/sun/tools/javac/util/Context$Factory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/sun/tools/javac/util/Context;)Ljava/lang/Object;
jdk/javadoc/internal/tool/Messager.lambda$1(Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log; (6)
(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Lcom/sun/tools/javac/util/Context$Factory;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/sun/tools/javac/util/Context;
0 2 1 programName Ljava/lang/String;
0 2 2 outWriter Ljava/io/PrintWriter;
0 2 3 errWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
context
programName final
outWriter final
errWriter final
public void print(javax.tools.Diagnostic$Kind, java.lang.String);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.javadoc.internal.tool.Messager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:()[I
aload 1
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 3
3: 3
default: 5
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printNotice:(Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/tool/Messager;
0 7 1 kind Ljavax/tools/Diagnostic$Kind;
0 7 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
kind
msg
public void print(javax.tools.Diagnostic$Kind, com.sun.source.util.DocTreePath, java.lang.String);
descriptor: (Ljavax/tools/Diagnostic$Kind;Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic jdk.javadoc.internal.tool.Messager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:()[I
aload 1
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 3
3: 3
default: 5
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/tool/Messager;
0 7 1 kind Ljavax/tools/Diagnostic$Kind;
0 7 2 path Lcom/sun/source/util/DocTreePath;
0 7 3 msg Ljava/lang/String;
MethodParameters:
Name Flags
kind
path
msg
public void print(javax.tools.Diagnostic$Kind, javax.lang.model.element.Element, java.lang.String);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljavax/lang/model/element/Element;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic jdk.javadoc.internal.tool.Messager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:()[I
aload 1
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 3
3: 3
default: 5
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Ljavax/lang/model/element/Element;Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljavax/lang/model/element/Element;Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljavax/lang/model/element/Element;Ljava/lang/String;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/tool/Messager;
0 7 1 kind Ljavax/tools/Diagnostic$Kind;
0 7 2 e Ljavax/lang/model/element/Element;
0 7 3 msg Ljava/lang/String;
MethodParameters:
Name Flags
kind
e
msg
public void <init>(com.sun.tools.javac.util.Context, java.lang.String);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;)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 1
aload 2
getstatic jdk.javadoc.internal.tool.Messager.defaultOutWriter:Ljava/io/PrintWriter;
getstatic jdk.javadoc.internal.tool.Messager.defaultErrWriter:Ljava/io/PrintWriter;
invokespecial jdk.javadoc.internal.tool.Messager.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 context Lcom/sun/tools/javac/util/Context;
0 2 2 programName Ljava/lang/String;
MethodParameters:
Name Flags
context
programName
public void <init>(com.sun.tools.javac.util.Context, java.lang.String, java.io.PrintWriter, java.io.PrintWriter);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 4
aload 4
aload 3
invokespecial com.sun.tools.javac.util.Log.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
1: 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 jdk.javadoc.internal.tool.Messager.messages:Lcom/sun/tools/javac/util/JavacMessages;
2: aload 0
getfield jdk.javadoc.internal.tool.Messager.messages:Lcom/sun/tools/javac/util/JavacMessages;
invokedynamic getResourceBundle()Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/util/Locale;)Ljava/util/ResourceBundle;
jdk/javadoc/internal/tool/Messager.lambda$2(Ljava/util/Locale;)Ljava/util/ResourceBundle; (6)
(Ljava/util/Locale;)Ljava/util/ResourceBundle;
invokevirtual com.sun.tools.javac.util.JavacMessages.add:(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V
3: aload 0
new com.sun.tools.javac.util.JCDiagnostic$Factory
dup
aload 0
getfield jdk.javadoc.internal.tool.Messager.messages:Lcom/sun/tools/javac/util/JavacMessages;
ldc "javadoc"
invokespecial com.sun.tools.javac.util.JCDiagnostic$Factory.<init>:(Lcom/sun/tools/javac/util/JavacMessages;Ljava/lang/String;)V
putfield jdk.javadoc.internal.tool.Messager.javadocDiags:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
4: aload 0
aload 2
putfield jdk.javadoc.internal.tool.Messager.programName:Ljava/lang/String;
5: aload 0
aload 1
putfield jdk.javadoc.internal.tool.Messager.context:Lcom/sun/tools/javac/util/Context;
6: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putfield jdk.javadoc.internal.tool.Messager.locale:Ljava/util/Locale;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/tool/Messager;
0 8 1 context Lcom/sun/tools/javac/util/Context;
0 8 2 programName Ljava/lang/String;
0 8 3 outWriter Ljava/io/PrintWriter;
0 8 4 errWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
context
programName
outWriter
errWriter
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.javadoc.internal.tool.Messager.locale:Ljava/util/Locale;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
java.lang.String getText(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.tool.Messager.messages:Lcom/sun/tools/javac/util/JavacMessages;
aload 0
getfield jdk.javadoc.internal.tool.Messager.locale:Ljava/util/Locale;
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.JavacMessages.getLocalizedString:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/tool/Messager;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private java.lang.String getDiagSource(com.sun.source.util.DocTreePath);
descriptor: (Lcom/sun/source/util/DocTreePath;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual com.sun.source.util.DocTreePath.getTreePath:()Lcom/sun/source/util/TreePath;
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.tool.Messager.programName:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.tool.Messager.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.api.JavacTrees.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/api/JavacTrees;
astore 2
start local 2 3: aload 2
invokevirtual com.sun.tools.javac.api.JavacTrees.getSourcePositions:()Lcom/sun/source/util/DocSourcePositions;
astore 3
start local 3 4: aload 1
invokevirtual com.sun.source.util.DocTreePath.getTreePath:()Lcom/sun/source/util/TreePath;
invokevirtual com.sun.source.util.TreePath.getCompilationUnit:()Lcom/sun/source/tree/CompilationUnitTree;
astore 4
start local 4 5: aload 3
aload 4
aload 1
invokevirtual com.sun.source.util.DocTreePath.getDocComment:()Lcom/sun/source/doctree/DocCommentTree;
aload 1
invokevirtual com.sun.source.util.DocTreePath.getLeaf:()Lcom/sun/source/doctree/DocTree;
invokeinterface com.sun.source.util.DocSourcePositions.getStartPosition:(Lcom/sun/source/tree/CompilationUnitTree;Lcom/sun/source/doctree/DocCommentTree;Lcom/sun/source/doctree/DocTree;)J
lstore 5
start local 5 6: aload 4
invokeinterface com.sun.source.tree.CompilationUnitTree.getLineMap:()Lcom/sun/source/tree/LineMap;
lload 5
invokeinterface com.sun.source.tree.LineMap.getLineNumber:(J)J
lstore 7
start local 7 7: aload 4
invokeinterface com.sun.source.tree.CompilationUnitTree.getSourceFile:()Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
astore 9
start local 9 8: new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 7
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 9: aload 10
areturn
end local 10 end local 9 end local 7 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 10 0 this Ljdk/javadoc/internal/tool/Messager;
0 10 1 path Lcom/sun/source/util/DocTreePath;
3 10 2 trees Lcom/sun/tools/javac/api/JavacTrees;
4 10 3 sourcePositions Lcom/sun/source/util/DocSourcePositions;
5 10 4 cu Lcom/sun/source/tree/CompilationUnitTree;
6 10 5 spos J
7 10 7 lineNumber J
8 10 9 fname Ljava/lang/String;
9 10 10 posString Ljava/lang/String;
MethodParameters:
Name Flags
path
private java.lang.String getDiagSource(javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=13, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getfield jdk.javadoc.internal.tool.Messager.programName:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.tool.Messager.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.api.JavacTrees.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/api/JavacTrees;
astore 2
start local 2 3: aload 2
aload 1
invokevirtual com.sun.tools.javac.api.JavacTrees.getPath:(Ljavax/lang/model/element/Element;)Lcom/sun/source/util/TreePath;
astore 3
start local 3 4: aload 2
invokevirtual com.sun.tools.javac.api.JavacTrees.getSourcePositions:()Lcom/sun/source/util/DocSourcePositions;
astore 4
start local 4 5: aload 2
aload 1
invokevirtual com.sun.tools.javac.api.JavacTrees.getTree:(Ljavax/lang/model/element/Element;)Lcom/sun/tools/javac/tree/JCTree;
astore 5
start local 5 6: aload 3
invokevirtual com.sun.source.util.TreePath.getCompilationUnit:()Lcom/sun/source/tree/CompilationUnitTree;
astore 6
start local 6 7: aload 4
aload 6
aload 5
invokeinterface com.sun.source.util.DocSourcePositions.getStartPosition:(Lcom/sun/source/tree/CompilationUnitTree;Lcom/sun/source/tree/Tree;)J
lstore 7
start local 7 8: aload 6
invokeinterface com.sun.source.tree.CompilationUnitTree.getLineMap:()Lcom/sun/source/tree/LineMap;
lload 7
invokeinterface com.sun.source.tree.LineMap.getLineNumber:(J)J
lstore 9
start local 9 9: aload 6
invokeinterface com.sun.source.tree.CompilationUnitTree.getSourceFile:()Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
astore 11
start local 11 10: new java.lang.StringBuilder
dup
aload 11
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 9
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
start local 12 11: aload 12
areturn
end local 12 end local 11 end local 9 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 12 0 this Ljdk/javadoc/internal/tool/Messager;
0 12 1 e Ljavax/lang/model/element/Element;
3 12 2 trees Lcom/sun/tools/javac/api/JavacTrees;
4 12 3 path Lcom/sun/source/util/TreePath;
5 12 4 sourcePositions Lcom/sun/source/util/DocSourcePositions;
6 12 5 tree Lcom/sun/tools/javac/tree/JCTree;
7 12 6 cu Lcom/sun/source/tree/CompilationUnitTree;
8 12 7 spos J
9 12 9 lineNumber J
10 12 11 fname Ljava/lang/String;
11 12 12 posString Ljava/lang/String;
MethodParameters:
Name Flags
e
public void printError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printError(com.sun.source.util.DocTreePath, java.lang.String);
descriptor: (Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.getDiagSource:(Lcom/sun/source/util/DocTreePath;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.javadoc.internal.tool.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 4
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ERROR:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Ljava/lang/String;Ljava/lang/String;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/tool/Messager;
0 6 1 path Lcom/sun/source/util/DocTreePath;
0 6 2 msg Ljava/lang/String;
1 6 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
path
msg
public void printError(javax.lang.model.element.Element, java.lang.String);
descriptor: (Ljavax/lang/model/element/Element;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.getDiagSource:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.javadoc.internal.tool.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 4
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ERROR:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Ljava/lang/String;Ljava/lang/String;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/tool/Messager;
0 6 1 e Ljavax/lang/model/element/Element;
0 6 2 msg Ljava/lang/String;
1 6 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
e
msg
public void printErrorUsingKey(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 0
aload 1
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.tool.Messager.printError:(Ljavax/lang/model/element/Element;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private void printError(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.tool.Messager.nerrors:I
aload 0
getfield jdk.javadoc.internal.tool.Messager.MaxErrors:I
if_icmpge 6
1: aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.ERROR:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual jdk.javadoc.internal.tool.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 3
start local 3 2: aload 3
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
ldc "javadoc.error"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.javadoc.internal.tool.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.tool.Messager.printRawLines:(Ljava/io/PrintWriter;Ljava/lang/String;)V
3: aload 3
invokevirtual java.io.PrintWriter.flush:()V
4: aload 0
invokevirtual jdk.javadoc.internal.tool.Messager.prompt:()V
5: aload 0
dup
getfield jdk.javadoc.internal.tool.Messager.nerrors:I
iconst_1
iadd
putfield jdk.javadoc.internal.tool.Messager.nerrors:I
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/tool/Messager;
0 7 1 prefix Ljava/lang/String;
0 7 2 msg Ljava/lang/String;
2 6 3 errWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
prefix
msg
public void printWarning(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printWarningUsingKey(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 0
aload 1
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljavax/lang/model/element/Element;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public void printWarning(javax.lang.model.element.Element, java.lang.String, java.lang.Object[]);
descriptor: (Ljavax/lang/model/element/Element;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
aload 2
aload 3
invokevirtual jdk.javadoc.internal.tool.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 e Ljavax/lang/model/element/Element;
0 2 2 key Ljava/lang/String;
0 2 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
e
key
args
public void printWarning(com.sun.source.util.DocTreePath, java.lang.String);
descriptor: (Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.getDiagSource:(Lcom/sun/source/util/DocTreePath;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.javadoc.internal.tool.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 4
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.WARNING:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljava/lang/String;Ljava/lang/String;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/tool/Messager;
0 6 1 path Lcom/sun/source/util/DocTreePath;
0 6 2 msg Ljava/lang/String;
1 6 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
path
msg
public void printWarning(javax.lang.model.element.Element, java.lang.String);
descriptor: (Ljavax/lang/model/element/Element;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.getDiagSource:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.javadoc.internal.tool.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 4
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.WARNING:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.printWarning:(Ljava/lang/String;Ljava/lang/String;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/tool/Messager;
0 6 1 e Ljavax/lang/model/element/Element;
0 6 2 msg Ljava/lang/String;
1 6 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
e
msg
private void printWarning(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.tool.Messager.nwarnings:I
aload 0
getfield jdk.javadoc.internal.tool.Messager.MaxWarnings:I
if_icmpge 5
1: aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.WARNING:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual jdk.javadoc.internal.tool.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 3
start local 3 2: aload 3
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
ldc "javadoc.warning"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.javadoc.internal.tool.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.tool.Messager.printRawLines:(Ljava/io/PrintWriter;Ljava/lang/String;)V
3: aload 3
invokevirtual java.io.PrintWriter.flush:()V
4: aload 0
dup
getfield jdk.javadoc.internal.tool.Messager.nwarnings:I
iconst_1
iadd
putfield jdk.javadoc.internal.tool.Messager.nwarnings:I
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/tool/Messager;
0 6 1 prefix Ljava/lang/String;
0 6 2 msg Ljava/lang/String;
2 5 3 warnWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
prefix
msg
public void printNotice(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.printNotice:(Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printNotice(com.sun.source.util.DocTreePath, java.lang.String);
descriptor: (Lcom/sun/source/util/DocTreePath;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.getDiagSource:(Lcom/sun/source/util/DocTreePath;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.javadoc.internal.tool.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 4
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.NOTE:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aconst_null
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.NOTICE:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual jdk.javadoc.internal.tool.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 4
start local 4 5: aload 1
ifnonnull 8
6: aload 4
aload 2
invokestatic jdk.javadoc.internal.tool.Messager.printRawLines:(Ljava/io/PrintWriter;Ljava/lang/String;)V
7: goto 9
8: StackMap locals: java.io.PrintWriter
StackMap stack:
aload 4
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.tool.Messager.printRawLines:(Ljava/io/PrintWriter;Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.PrintWriter.flush:()V
10: return
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 Ljdk/javadoc/internal/tool/Messager;
0 11 1 path Lcom/sun/source/util/DocTreePath;
0 11 2 msg Ljava/lang/String;
1 11 3 prefix Ljava/lang/String;
5 11 4 noticeWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
path
msg
public void printNotice(javax.lang.model.element.Element, java.lang.String);
descriptor: (Ljavax/lang/model/element/Element;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.tool.Messager.getDiagSource:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.javadoc.internal.tool.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 4
2: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.NOTE:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 3
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.NOTICE:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual jdk.javadoc.internal.tool.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 4
start local 4 5: aload 1
ifnonnull 8
6: aload 4
aload 2
invokestatic jdk.javadoc.internal.tool.Messager.printRawLines:(Ljava/io/PrintWriter;Ljava/lang/String;)V
7: goto 9
8: StackMap locals: java.io.PrintWriter
StackMap stack:
aload 4
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.tool.Messager.printRawLines:(Ljava/io/PrintWriter;Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.PrintWriter.flush:()V
10: return
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 Ljdk/javadoc/internal/tool/Messager;
0 11 1 e Ljavax/lang/model/element/Element;
0 11 2 msg Ljava/lang/String;
1 11 3 pos Ljava/lang/String;
5 11 4 noticeWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
e
msg
public void notice(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
aload 2
invokevirtual jdk.javadoc.internal.tool.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.tool.Messager.printNotice:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public boolean hasErrors();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.tool.Messager.nerrors:I
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
public boolean hasWarnings();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.tool.Messager.nwarnings:I
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/tool/Messager;
public void printErrorWarningCounts();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.tool.Messager.nerrors:I
ifle 6
1: aload 0
aload 0
getfield jdk.javadoc.internal.tool.Messager.nerrors:I
iconst_1
if_icmple 2
ldc "main.errors"
goto 3
StackMap locals:
StackMap stack: jdk.javadoc.internal.tool.Messager
2: ldc "main.error"
StackMap locals: jdk.javadoc.internal.tool.Messager
StackMap stack: jdk.javadoc.internal.tool.Messager java.lang.String
3: iconst_1
anewarray java.lang.Object
dup
iconst_0
4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield jdk.javadoc.internal.tool.Messager.nerrors:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
5: invokevirtual jdk.javadoc.internal.tool.Messager.notice:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.tool.Messager.nwarnings:I
ifle 12
7: aload 0
aload 0
getfield jdk.javadoc.internal.tool.Messager.nwarnings:I
iconst_1
if_icmple 8
ldc "main.warnings"
goto 9
StackMap locals:
StackMap stack: jdk.javadoc.internal.tool.Messager
8: ldc "main.warning"
StackMap locals: jdk.javadoc.internal.tool.Messager
StackMap stack: jdk.javadoc.internal.tool.Messager java.lang.String
9: iconst_1
anewarray java.lang.Object
dup
iconst_0
10: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield jdk.javadoc.internal.tool.Messager.nwarnings:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
11: invokevirtual jdk.javadoc.internal.tool.Messager.notice:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/javadoc/internal/tool/Messager;
private void report(com.sun.tools.javac.util.JCDiagnostic$DiagnosticType, java.lang.String, java.lang.String);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic jdk.javadoc.internal.tool.Messager.$SWITCH_TABLE$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType:()[I
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ordinal:()I
iaload
tableswitch { // 2 - 4
2: 6
3: 1
4: 1
default: 11
}
1: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
aload 0
getfield jdk.javadoc.internal.tool.Messager.programName:Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.String
3: astore 4
start local 4 4: aload 0
aload 0
getfield jdk.javadoc.internal.tool.Messager.javadocDiags:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
aload 1
aconst_null
aconst_null
ldc "msg"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 3
aastore
invokevirtual com.sun.tools.javac.util.JCDiagnostic$Factory.create:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Lcom/sun/tools/javac/util/DiagnosticSource;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Ljava/lang/String;[Ljava/lang/Object;)Lcom/sun/tools/javac/util/JCDiagnostic;
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
5: goto 12
end local 4 6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
ldc "msg"
goto 8
StackMap locals:
StackMap stack:
7: ldc "pos.msg"
StackMap locals:
StackMap stack: java.lang.String
8: astore 5
start local 5 9: aload 0
aload 0
getfield jdk.javadoc.internal.tool.Messager.javadocDiags:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
aload 1
aconst_null
aconst_null
aload 5
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokevirtual com.sun.tools.javac.util.JCDiagnostic$Factory.create:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Lcom/sun/tools/javac/util/DiagnosticSource;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Ljava/lang/String;[Ljava/lang/Object;)Lcom/sun/tools/javac/util/JCDiagnostic;
invokevirtual jdk.javadoc.internal.tool.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic;)V
10: goto 12
end local 5 11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 1
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/javadoc/internal/tool/Messager;
0 13 1 type Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
0 13 2 pos Ljava/lang/String;
0 13 3 msg Ljava/lang/String;
4 6 4 prefix Ljava/lang/Object;
9 11 5 key Ljava/lang/String;
MethodParameters:
Name Flags
type
pos
msg
static int[] $SWITCH_TABLE$javax$tools$Diagnostic$Kind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.javadoc.internal.tool.Messager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.tools.Diagnostic$Kind.values:()[Ljavax/tools/Diagnostic$Kind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.tools.Diagnostic$Kind.MANDATORY_WARNING:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.tools.Diagnostic$Kind.OTHER:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic jdk.javadoc.internal.tool.Messager.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
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 jdk.javadoc.internal.tool.Messager.$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 jdk.javadoc.internal.tool.Messager.$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
private static com.sun.tools.javac.util.Log lambda$0(java.lang.String, com.sun.tools.javac.util.Context);
descriptor: (Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: new jdk.javadoc.internal.tool.Messager
dup
aload 1
aload 0
invokespecial jdk.javadoc.internal.tool.Messager.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/lang/String;)V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 c Lcom/sun/tools/javac/util/Context;
private static com.sun.tools.javac.util.Log lambda$1(java.lang.String, java.io.PrintWriter, java.io.PrintWriter, com.sun.tools.javac.util.Context);
descriptor: (Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=4
start local 3 0: new jdk.javadoc.internal.tool.Messager
dup
aload 3
aload 0
aload 1
aload 2
invokespecial jdk.javadoc.internal.tool.Messager.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
areturn
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 1 3 c Lcom/sun/tools/javac/util/Context;
private static java.util.ResourceBundle lambda$2(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "jdk.javadoc.internal.tool.resources.javadoc"
1: aload 0
2: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 locale Ljava/util/Locale;
}
SourceFile: "Messager.java"
InnerClasses:
public abstract Factory = com.sun.tools.javac.util.Context$Factory of com.sun.tools.javac.util.Context
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context
public abstract DiagnosticPosition = com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition of com.sun.tools.javac.util.JCDiagnostic
public final DiagnosticType = com.sun.tools.javac.util.JCDiagnostic$DiagnosticType of com.sun.tools.javac.util.JCDiagnostic
public Factory = com.sun.tools.javac.util.JCDiagnostic$Factory of com.sun.tools.javac.util.JCDiagnostic
public abstract ResourceBundleHelper = com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper of com.sun.tools.javac.util.JavacMessages
public final WriterKind = com.sun.tools.javac.util.Log$WriterKind of com.sun.tools.javac.util.Log
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic