public class com.sun.tools.javadoc.main.Messager extends com.sun.tools.javac.util.Log implements com.sun.javadoc.DocErrorReporter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javadoc.main.Messager
super_class: com.sun.tools.javac.util.Log
{
public static final com.sun.javadoc.SourcePosition NOPOS;
descriptor: Lcom/sun/javadoc/SourcePosition;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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 defaultErrWriter;
descriptor: Ljava/io/PrintWriter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.io.PrintWriter defaultWarnWriter;
descriptor: Ljava/io/PrintWriter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.io.PrintWriter defaultNoticeWriter;
descriptor: Ljava/io/PrintWriter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
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: aconst_null
putstatic com.sun.tools.javadoc.main.Messager.NOPOS:Lcom/sun/javadoc/SourcePosition;
1: new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
putstatic com.sun.tools.javadoc.main.Messager.defaultErrWriter:Ljava/io/PrintWriter;
2: new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
putstatic com.sun.tools.javadoc.main.Messager.defaultWarnWriter:Ljava/io/PrintWriter;
3: new java.io.PrintWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
putstatic com.sun.tools.javadoc.main.Messager.defaultNoticeWriter:Ljava/io/PrintWriter;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.tools.javadoc.main.Messager instance0(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javadoc/main/Messager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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;
com/sun/tools/javadoc/main/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, java.io.PrintWriter);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic com.sun.tools.javadoc.main.Messager.logKey:Lcom/sun/tools/javac/util/Context$Key;
aload 1
aload 2
aload 3
aload 4
invokedynamic make(Ljava/lang/String;Ljava/io/PrintWriter;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;
com/sun/tools/javadoc/main/Messager.lambda$1(Ljava/lang/String;Ljava/io/PrintWriter;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 4 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 errWriter Ljava/io/PrintWriter;
0 2 3 warnWriter Ljava/io/PrintWriter;
0 2 4 noticeWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
context
programName final
errWriter final
warnWriter final
noticeWriter final
protected void <init>(com.sun.tools.javac.util.Context, java.lang.String);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic com.sun.tools.javadoc.main.Messager.defaultErrWriter:Ljava/io/PrintWriter;
getstatic com.sun.tools.javadoc.main.Messager.defaultWarnWriter:Ljava/io/PrintWriter;
getstatic com.sun.tools.javadoc.main.Messager.defaultNoticeWriter:Ljava/io/PrintWriter;
invokespecial com.sun.tools.javadoc.main.Messager.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;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 Lcom/sun/tools/javadoc/main/Messager;
0 2 1 context Lcom/sun/tools/javac/util/Context;
0 2 2 programName Ljava/lang/String;
MethodParameters:
Name Flags
context
programName
protected void <init>(com.sun.tools.javac.util.Context, java.lang.String, java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 3
aload 4
aload 5
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 com.sun.tools.javadoc.main.Messager.messages:Lcom/sun/tools/javac/util/JavacMessages;
2: aload 0
getfield com.sun.tools.javadoc.main.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;
com/sun/tools/javadoc/main/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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.Messager.javadocDiags:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
4: aload 0
aload 2
putfield com.sun.tools.javadoc.main.Messager.programName:Ljava/lang/String;
5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javadoc/main/Messager;
0 6 1 context Lcom/sun/tools/javac/util/Context;
0 6 2 programName Ljava/lang/String;
0 6 3 errWriter Ljava/io/PrintWriter;
0 6 4 warnWriter Ljava/io/PrintWriter;
0 6 5 noticeWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
context
programName
errWriter
warnWriter
noticeWriter
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 com.sun.tools.javadoc.main.Messager.locale:Ljava/util/Locale;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javadoc/main/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 com.sun.tools.javadoc.main.Messager.messages:Lcom/sun/tools/javac/util/JavacMessages;
aload 0
getfield com.sun.tools.javadoc.main.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 Lcom/sun/tools/javadoc/main/Messager;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
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 com.sun.tools.javadoc.main.Messager.printError:(Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javadoc/main/Messager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printError(com.sun.javadoc.SourcePosition, java.lang.String);
descriptor: (Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javadoc.main.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 3
1: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.ERROR:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 1
aload 2
invokevirtual com.sun.tools.javadoc.main.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.Messager.nerrors:I
aload 0
getfield com.sun.tools.javadoc.main.Messager.MaxErrors:I
if_icmpge 12
4: aload 1
ifnonnull 5
aload 0
getfield com.sun.tools.javadoc.main.Messager.programName:Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack:
5: aload 1
invokeinterface com.sun.javadoc.SourcePosition.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
6: astore 3
start local 3 7: aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.ERROR:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual com.sun.tools.javadoc.main.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 4
start local 4 8: 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 0
ldc "javadoc.error"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javadoc.main.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;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: aload 4
invokevirtual java.io.PrintWriter.flush:()V
10: aload 0
invokevirtual com.sun.tools.javadoc.main.Messager.prompt:()V
11: aload 0
dup
getfield com.sun.tools.javadoc.main.Messager.nerrors:I
iconst_1
iadd
putfield com.sun.tools.javadoc.main.Messager.nerrors:I
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/javadoc/main/Messager;
0 13 1 pos Lcom/sun/javadoc/SourcePosition;
0 13 2 msg Ljava/lang/String;
7 12 3 prefix Ljava/lang/String;
8 12 4 errWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
pos
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 com.sun.tools.javadoc.main.Messager.printWarning:(Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javadoc/main/Messager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printWarning(com.sun.javadoc.SourcePosition, java.lang.String);
descriptor: (Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javadoc.main.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 3
1: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.WARNING:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 1
aload 2
invokevirtual com.sun.tools.javadoc.main.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.Messager.nwarnings:I
aload 0
getfield com.sun.tools.javadoc.main.Messager.MaxWarnings:I
if_icmpge 11
4: aload 1
ifnonnull 5
aload 0
getfield com.sun.tools.javadoc.main.Messager.programName:Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack:
5: aload 1
invokeinterface com.sun.javadoc.SourcePosition.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
6: astore 3
start local 3 7: aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.WARNING:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual com.sun.tools.javadoc.main.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 4
start local 4 8: 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 0
ldc "javadoc.warning"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javadoc.main.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;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: aload 4
invokevirtual java.io.PrintWriter.flush:()V
10: aload 0
dup
getfield com.sun.tools.javadoc.main.Messager.nwarnings:I
iconst_1
iadd
putfield com.sun.tools.javadoc.main.Messager.nwarnings:I
end local 4 end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/javadoc/main/Messager;
0 12 1 pos Lcom/sun/javadoc/SourcePosition;
0 12 2 msg Ljava/lang/String;
7 11 3 prefix Ljava/lang/String;
8 11 4 warnWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
pos
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 com.sun.tools.javadoc.main.Messager.printNotice:(Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javadoc/main/Messager;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void printNotice(com.sun.javadoc.SourcePosition, java.lang.String);
descriptor: (Lcom/sun/javadoc/SourcePosition;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
getfield com.sun.tools.javadoc.main.Messager.diagListener:Ljavax/tools/DiagnosticListener;
ifnull 3
1: aload 0
getstatic com.sun.tools.javac.util.JCDiagnostic$DiagnosticType.NOTE:Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
aload 1
aload 2
invokevirtual com.sun.tools.javadoc.main.Messager.report:(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.tools.javac.util.Log$WriterKind.NOTICE:Lcom/sun/tools/javac/util/Log$WriterKind;
invokevirtual com.sun.tools.javadoc.main.Messager.getWriter:(Lcom/sun/tools/javac/util/Log$WriterKind;)Ljava/io/PrintWriter;
astore 3
start local 3 4: aload 1
ifnonnull 6
5: aload 3
aload 2
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
goto 7
6: StackMap locals: java.io.PrintWriter
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.PrintWriter.flush:()V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javadoc/main/Messager;
0 9 1 pos Lcom/sun/javadoc/SourcePosition;
0 9 2 msg Ljava/lang/String;
4 9 3 noticeWriter Ljava/io/PrintWriter;
MethodParameters:
Name Flags
pos
msg
public void error(com.sun.javadoc.SourcePosition, java.lang.String, java.lang.Object[]);
descriptor: (Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 0
aload 2
aload 3
invokevirtual com.sun.tools.javadoc.main.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.Messager.printError:(Lcom/sun/javadoc/SourcePosition;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 Lcom/sun/tools/javadoc/main/Messager;
0 2 1 pos Lcom/sun/javadoc/SourcePosition;
0 2 2 key Ljava/lang/String;
0 2 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
pos
key
args
public void warning(com.sun.javadoc.SourcePosition, java.lang.String, java.lang.Object[]);
descriptor: (Lcom/sun/javadoc/SourcePosition;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 0
aload 2
aload 3
invokevirtual com.sun.tools.javadoc.main.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.Messager.printWarning:(Lcom/sun/javadoc/SourcePosition;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 Lcom/sun/tools/javadoc/main/Messager;
0 2 1 pos Lcom/sun/javadoc/SourcePosition;
0 2 2 key Ljava/lang/String;
0 2 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
pos
key
args
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 com.sun.tools.javadoc.main.Messager.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.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 Lcom/sun/tools/javadoc/main/Messager;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public int nerrors();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.Messager.nerrors:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javadoc/main/Messager;
public int nwarnings();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.Messager.nwarnings:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javadoc/main/Messager;
public void exitNotice();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.Messager.nerrors:I
ifle 6
1: aload 0
aload 0
getfield com.sun.tools.javadoc.main.Messager.nerrors:I
iconst_1
if_icmple 2
ldc "main.errors"
goto 3
StackMap locals:
StackMap stack: com.sun.tools.javadoc.main.Messager
2: ldc "main.error"
StackMap locals: com.sun.tools.javadoc.main.Messager
StackMap stack: com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.Messager.nerrors:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
5: invokevirtual com.sun.tools.javadoc.main.Messager.notice:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.Messager.nwarnings:I
ifle 12
7: aload 0
aload 0
getfield com.sun.tools.javadoc.main.Messager.nwarnings:I
iconst_1
if_icmple 8
ldc "main.warnings"
goto 9
StackMap locals:
StackMap stack: com.sun.tools.javadoc.main.Messager
8: ldc "main.warning"
StackMap locals: com.sun.tools.javadoc.main.Messager
StackMap stack: com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.Messager.nwarnings:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
11: invokevirtual com.sun.tools.javadoc.main.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 Lcom/sun/tools/javadoc/main/Messager;
public void exit();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.tools.javadoc.main.Messager$ExitJavadoc
dup
aload 0
invokespecial com.sun.tools.javadoc.main.Messager$ExitJavadoc.<init>:(Lcom/sun/tools/javadoc/main/Messager;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javadoc/main/Messager;
private void report(com.sun.tools.javac.util.JCDiagnostic$DiagnosticType, com.sun.javadoc.SourcePosition, java.lang.String);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;Lcom/sun/javadoc/SourcePosition;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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.Messager.programName:Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.Object
3: astore 4
start local 4 4: aload 0
aload 0
getfield com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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 Lcom/sun/tools/javadoc/main/Messager;
0 13 1 type Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticType;
0 13 2 pos Lcom/sun/javadoc/SourcePosition;
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$com$sun$tools$javac$util$JCDiagnostic$DiagnosticType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.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 com.sun.tools.javadoc.main.Messager
dup
aload 1
aload 0
invokespecial com.sun.tools.javadoc.main.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, java.io.PrintWriter, com.sun.tools.javac.util.Context);
descriptor: (Ljava/lang/String;Ljava/io/PrintWriter;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=7, locals=5, args_size=5
start local 4 0: new com.sun.tools.javadoc.main.Messager
dup
aload 4
1: aload 0
2: aload 1
3: aload 2
4: aload 3
5: invokespecial com.sun.tools.javadoc.main.Messager.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
6: areturn
end local 4 LocalVariableTable:
Start End Slot Name Signature
0 7 4 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 "com.sun.tools.javadoc.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"
NestMembers:
com.sun.tools.javadoc.main.Messager$ExitJavadoc
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 ExitJavadoc = com.sun.tools.javadoc.main.Messager$ExitJavadoc of com.sun.tools.javadoc.main.Messager
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
java.lang.Deprecated()