public class jdk.javadoc.internal.doclint.DocLint extends com.sun.tools.doclint.DocLint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclint.DocLint
super_class: com.sun.tools.doclint.DocLint
{
public static final java.lang.String XMSGS_OPTION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-Xmsgs"
public static final java.lang.String XMSGS_CUSTOM_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-Xmsgs:"
private static final java.lang.String STATS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-stats"
public static final java.lang.String XCUSTOM_TAGS_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-XcustomTags:"
public static final java.lang.String XCHECK_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-XcheckPackage:"
public static final java.lang.String SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ","
java.util.List<java.io.File> javacBootClassPath;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/io/File;>;
java.util.List<java.io.File> javacClassPath;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/io/File;>;
java.util.List<java.io.File> javacSourcePath;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/io/File;>;
java.util.List<java.lang.String> javacOpts;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
java.util.List<java.io.File> javacFiles;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/io/File;>;
boolean needHelp;
descriptor: Z
flags: (0x0000)
jdk.javadoc.internal.doclint.Env env;
descriptor: Ljdk/javadoc/internal/doclint/Env;
flags: (0x0000)
jdk.javadoc.internal.doclint.Checker checker;
descriptor: Ljdk/javadoc/internal/doclint/Checker;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.doclint.DocLint.<init>:()V
1: aload 0
iconst_0
putfield jdk.javadoc.internal.doclint.DocLint.needHelp:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclint/DocLint;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=3, args_size=1
start local 0 0: new jdk.javadoc.internal.doclint.DocLint
dup
invokespecial jdk.javadoc.internal.doclint.DocLint.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual jdk.javadoc.internal.doclint.DocLint.run:([Ljava/lang/String;)V
2: goto 10
StackMap locals: java.lang.String[] jdk.javadoc.internal.doclint.DocLint
StackMap stack: jdk.javadoc.internal.doclint.DocLint$BadArgs
3: astore 2
start local 2 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual jdk.javadoc.internal.doclint.DocLint$BadArgs.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 2 6: goto 10
7: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 8: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
ldc "dc.main.ioerror"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclint.DocLint.localize:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: iconst_2
invokestatic java.lang.System.exit:(I)V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 args [Ljava/lang/String;
1 11 1 dl Ljdk/javadoc/internal/doclint/DocLint;
4 6 2 e Ljdk/javadoc/internal/doclint/DocLint$BadArgs;
8 10 2 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class jdk.javadoc.internal.doclint.DocLint$BadArgs
1 2 7 Class java.io.IOException
MethodParameters:
Name Flags
args
public void run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.io.PrintWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual jdk.javadoc.internal.doclint.DocLint.run:(Ljava/io/PrintWriter;[Ljava/lang/String;)V
2: goto 6
StackMap locals: jdk.javadoc.internal.doclint.DocLint java.lang.String[] java.io.PrintWriter
StackMap stack: java.lang.Throwable
3: astore 3
4: aload 2
invokevirtual java.io.PrintWriter.flush:()V
5: aload 3
athrow
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.PrintWriter.flush:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 8 1 args [Ljava/lang/String;
1 8 2 out Ljava/io/PrintWriter;
Exception table:
from to target type
1 3 3 any
Exceptions:
throws jdk.javadoc.internal.doclint.DocLint$BadArgs, java.io.IOException
MethodParameters:
Name Flags
args
public void run(java.io.PrintWriter, java.lang.String[]);
descriptor: (Ljava/io/PrintWriter;[Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new jdk.javadoc.internal.doclint.Env
dup
invokespecial jdk.javadoc.internal.doclint.Env.<init>:()V
putfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
1: aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclint.DocLint.processArgs:([Ljava/lang/String;)V
2: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacFiles:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
istore 3
start local 3 3: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.needHelp:Z
ifeq 7
4: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclint.DocLint.showHelp:(Ljava/io/PrintWriter;)V
5: iload 3
ifeq 10
6: return
7: StackMap locals: int
StackMap stack:
iload 3
ifeq 10
8: aload 1
aload 0
ldc "dc.main.no.files.given"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.javadoc.internal.doclint.DocLint.localize:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: return
10: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.javac.api.JavacTool.create:()Lcom/sun/tools/javac/api/JavacTool;
astore 4
start local 4 11: new com.sun.tools.javac.file.JavacFileManager
dup
new com.sun.tools.javac.util.Context
dup
invokespecial com.sun.tools.javac.util.Context.<init>:()V
iconst_0
aconst_null
invokespecial com.sun.tools.javac.file.JavacFileManager.<init>:(Lcom/sun/tools/javac/util/Context;ZLjava/nio/charset/Charset;)V
astore 5
start local 5 12: aload 5
iconst_0
invokevirtual com.sun.tools.javac.file.JavacFileManager.setSymbolFileEnabled:(Z)V
13: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacBootClassPath:Ljava/util/List;
ifnull 15
14: aload 5
getstatic javax.tools.StandardLocation.PLATFORM_CLASS_PATH:Ljavax/tools/StandardLocation;
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacBootClassPath:Ljava/util/List;
invokevirtual com.sun.tools.javac.file.JavacFileManager.setLocation:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/Iterable;)V
15: StackMap locals: com.sun.tools.javac.api.JavacTool com.sun.tools.javac.file.JavacFileManager
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacClassPath:Ljava/util/List;
ifnull 17
16: aload 5
getstatic javax.tools.StandardLocation.CLASS_PATH:Ljavax/tools/StandardLocation;
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacClassPath:Ljava/util/List;
invokevirtual com.sun.tools.javac.file.JavacFileManager.setLocation:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/Iterable;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacSourcePath:Ljava/util/List;
ifnull 19
18: aload 5
getstatic javax.tools.StandardLocation.SOURCE_PATH:Ljavax/tools/StandardLocation;
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacSourcePath:Ljava/util/List;
invokevirtual com.sun.tools.javac.file.JavacFileManager.setLocation:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/Iterable;)V
19: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aconst_null
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacOpts:Ljava/util/List;
aconst_null
20: aload 5
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacFiles:Ljava/util/List;
invokevirtual com.sun.tools.javac.file.JavacFileManager.getJavaFileObjectsFromFiles:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
21: invokevirtual com.sun.tools.javac.api.JavacTool.getTask:(Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/sun/source/util/JavacTask;
astore 6
start local 6 22: aload 6
invokevirtual com.sun.source.util.JavacTask.parse:()Ljava/lang/Iterable;
astore 7
start local 7 23: aload 6
checkcast com.sun.tools.javac.api.JavacTaskImpl
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.enter:()Ljava/lang/Iterable;
pop
24: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 6
invokevirtual jdk.javadoc.internal.doclint.Env.init:(Lcom/sun/source/util/JavacTask;)V
25: aload 0
new jdk.javadoc.internal.doclint.Checker
dup
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
invokespecial jdk.javadoc.internal.doclint.Checker.<init>:(Ljdk/javadoc/internal/doclint/Env;)V
putfield jdk.javadoc.internal.doclint.DocLint.checker:Ljdk/javadoc/internal/doclint/Checker;
26: new jdk.javadoc.internal.doclint.DocLint$1
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
invokespecial jdk.javadoc.internal.doclint.DocLint$1.<init>:(Ljdk/javadoc/internal/doclint/DocLint;Ljdk/javadoc/internal/doclint/Env;)V
astore 8
start local 8 27: aload 8
aload 7
aconst_null
invokevirtual jdk.javadoc.internal.doclint.DocLint$DeclScanner.scan:(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclint.DocLint.reportStats:(Ljava/io/PrintWriter;)V
29: aload 6
checkcast com.sun.tools.javac.api.JavacTaskImpl
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.getContext:()Lcom/sun/tools/javac/util/Context;
astore 9
start local 9 30: aload 9
invokestatic com.sun.tools.javac.main.JavaCompiler.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;
astore 10
start local 10 31: aload 10
ldc "error"
aload 10
invokevirtual com.sun.tools.javac.main.JavaCompiler.errorCount:()I
invokevirtual com.sun.tools.javac.main.JavaCompiler.printCount:(Ljava/lang/String;I)V
32: aload 10
ldc "warn"
aload 10
invokevirtual com.sun.tools.javac.main.JavaCompiler.warningCount:()I
invokevirtual com.sun.tools.javac.main.JavaCompiler.printCount:(Ljava/lang/String;I)V
33: return
end local 10 end local 9 end local 8 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 34 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 34 1 out Ljava/io/PrintWriter;
0 34 2 args [Ljava/lang/String;
3 34 3 noFiles Z
11 34 4 tool Lcom/sun/tools/javac/api/JavacTool;
12 34 5 fm Lcom/sun/tools/javac/file/JavacFileManager;
22 34 6 task Lcom/sun/source/util/JavacTask;
23 34 7 units Ljava/lang/Iterable<+Lcom/sun/source/tree/CompilationUnitTree;>;
27 34 8 ds Ljdk/javadoc/internal/doclint/DocLint$DeclScanner;
30 34 9 ctx Lcom/sun/tools/javac/util/Context;
31 34 10 c Lcom/sun/tools/javac/main/JavaCompiler;
Exceptions:
throws jdk.javadoc.internal.doclint.DocLint$BadArgs, java.io.IOException
MethodParameters:
Name Flags
out
args
void processArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.javadoc.internal.doclint.DocLint.javacOpts:Ljava/util/List;
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.javadoc.internal.doclint.DocLint.javacFiles:Ljava/util/List;
2: aload 1
arraylength
ifne 4
3: aload 0
iconst_1
putfield jdk.javadoc.internal.doclint.DocLint.needHelp:Z
4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: goto 51
6: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 7: aload 3
ldc "-Xmax(errs|warns)"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 13
iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 13
8: aload 1
iinc 2 1
iload 2
aaload
ldc "[0-9]+"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 12
9: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacOpts:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacOpts:Ljava/util/List;
aload 1
iload 2
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: goto 50
12: StackMap locals: java.lang.String
StackMap stack:
new jdk.javadoc.internal.doclint.DocLint$BadArgs
dup
aload 0
ldc "dc.bad.value.for.option"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 1
iload 2
aaload
aastore
invokespecial jdk.javadoc.internal.doclint.DocLint$BadArgs.<init>:(Ljdk/javadoc/internal/doclint/DocLint;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
13: StackMap locals:
StackMap stack:
aload 3
ldc "-target"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
aload 3
ldc "-source"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
StackMap locals:
StackMap stack:
14: iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 18
15: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacOpts:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacOpts:Ljava/util/List;
aload 1
iinc 2 1
iload 2
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: goto 50
StackMap locals:
StackMap stack:
18: aload 3
ldc "-stats"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
iconst_1
invokevirtual jdk.javadoc.internal.doclint.Messages.setStatsEnabled:(Z)V
20: goto 50
StackMap locals:
StackMap stack:
21: aload 3
ldc "-bootclasspath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 24
22: aload 0
aload 0
aload 1
iinc 2 1
iload 2
aaload
invokevirtual jdk.javadoc.internal.doclint.DocLint.splitPath:(Ljava/lang/String;)Ljava/util/List;
putfield jdk.javadoc.internal.doclint.DocLint.javacBootClassPath:Ljava/util/List;
23: goto 50
StackMap locals:
StackMap stack:
24: aload 3
ldc "-classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 27
25: aload 0
aload 0
aload 1
iinc 2 1
iload 2
aaload
invokevirtual jdk.javadoc.internal.doclint.DocLint.splitPath:(Ljava/lang/String;)Ljava/util/List;
putfield jdk.javadoc.internal.doclint.DocLint.javacClassPath:Ljava/util/List;
26: goto 50
StackMap locals:
StackMap stack:
27: aload 3
ldc "-cp"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 30
28: aload 0
aload 0
aload 1
iinc 2 1
iload 2
aaload
invokevirtual jdk.javadoc.internal.doclint.DocLint.splitPath:(Ljava/lang/String;)Ljava/util/List;
putfield jdk.javadoc.internal.doclint.DocLint.javacClassPath:Ljava/util/List;
29: goto 50
StackMap locals:
StackMap stack:
30: aload 3
ldc "-sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 33
31: aload 0
aload 0
aload 1
iinc 2 1
iload 2
aaload
invokevirtual jdk.javadoc.internal.doclint.DocLint.splitPath:(Ljava/lang/String;)Ljava/util/List;
putfield jdk.javadoc.internal.doclint.DocLint.javacSourcePath:Ljava/util/List;
32: goto 50
StackMap locals:
StackMap stack:
33: aload 3
ldc "-Xmsgs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
aconst_null
invokevirtual jdk.javadoc.internal.doclint.Messages.setOptions:(Ljava/lang/String;)V
35: goto 50
StackMap locals:
StackMap stack:
36: aload 3
ldc "-Xmsgs:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 39
37: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
aload 3
aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclint.Messages.setOptions:(Ljava/lang/String;)V
38: goto 50
StackMap locals:
StackMap stack:
39: aload 3
ldc "-XcustomTags:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 42
40: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 3
aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclint.Env.setCustomTags:(Ljava/lang/String;)V
41: goto 50
StackMap locals:
StackMap stack:
42: aload 3
ldc "-h"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 44
aload 3
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 44
aload 3
ldc "--help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 44
43: aload 3
ldc "-?"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 44
aload 3
ldc "-usage"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
44: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.javadoc.internal.doclint.DocLint.needHelp:Z
45: goto 50
StackMap locals:
StackMap stack:
46: aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 49
47: new jdk.javadoc.internal.doclint.DocLint$BadArgs
dup
aload 0
ldc "dc.bad.option"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokespecial jdk.javadoc.internal.doclint.DocLint$BadArgs.<init>:(Ljdk/javadoc/internal/doclint/DocLint;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
48: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.javacFiles:Ljava/util/List;
new java.io.File
dup
aload 1
iload 2
iinc 2 1
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
49: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmplt 48
end local 3 50: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
51: iload 2
aload 1
arraylength
if_icmplt 6
end local 2 52: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 53 1 args [Ljava/lang/String;
5 52 2 i I
7 50 3 arg Ljava/lang/String;
Exceptions:
throws jdk.javadoc.internal.doclint.DocLint$BadArgs
MethodParameters:
Name Flags
args
void showHelp(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ldc "dc.main.usage"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.javadoc.internal.doclint.DocLint.localize:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: jdk.javadoc.internal.doclint.DocLint java.io.PrintWriter java.lang.String top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 1
aload 3
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 7 1 out Ljava/io/PrintWriter;
1 7 2 msg Ljava/lang/String;
3 4 3 line Ljava/lang/String;
MethodParameters:
Name Flags
out
java.util.List<java.io.File> splitPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0000)
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: jdk.javadoc.internal.doclint.DocLint java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.length:()I
ifle 5
4: aload 2
new java.io.File
dup
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 2
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 8 1 path Ljava/lang/String;
1 8 2 files Ljava/util/List<Ljava/io/File;>;
3 5 3 f Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/io/File;>;
MethodParameters:
Name Flags
path
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "doclint"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclint/DocLint;
public void init(com.sun.source.util.JavacTask, java.lang.String[]);
descriptor: (Lcom/sun/source/util/JavacTask;[Ljava/lang/String;)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 1
aload 2
iconst_1
invokevirtual jdk.javadoc.internal.doclint.DocLint.init:(Lcom/sun/source/util/JavacTask;[Ljava/lang/String;Z)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/doclint/DocLint;
0 2 1 task Lcom/sun/source/util/JavacTask;
0 2 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
task
args
public void init(com.sun.source.util.JavacTask, java.lang.String[], boolean);
descriptor: (Lcom/sun/source/util/JavacTask;[Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new jdk.javadoc.internal.doclint.Env
dup
invokespecial jdk.javadoc.internal.doclint.Env.<init>:()V
putfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
1: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 1
invokevirtual jdk.javadoc.internal.doclint.Env.init:(Lcom/sun/source/util/JavacTask;)V
2: aload 0
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 2
invokevirtual jdk.javadoc.internal.doclint.DocLint.processArgs:(Ljdk/javadoc/internal/doclint/Env;[Ljava/lang/String;)V
3: aload 0
new jdk.javadoc.internal.doclint.Checker
dup
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
invokespecial jdk.javadoc.internal.doclint.Checker.<init>:(Ljdk/javadoc/internal/doclint/Env;)V
putfield jdk.javadoc.internal.doclint.DocLint.checker:Ljdk/javadoc/internal/doclint/Checker;
4: iload 3
ifeq 8
5: new jdk.javadoc.internal.doclint.DocLint$2
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
invokespecial jdk.javadoc.internal.doclint.DocLint$2.<init>:(Ljdk/javadoc/internal/doclint/DocLint;Ljdk/javadoc/internal/doclint/Env;)V
astore 4
start local 4 6: new jdk.javadoc.internal.doclint.DocLint$3
dup
aload 0
aload 4
invokespecial jdk.javadoc.internal.doclint.DocLint$3.<init>:(Ljdk/javadoc/internal/doclint/DocLint;Ljdk/javadoc/internal/doclint/DocLint$DeclScanner;)V
astore 5
start local 5 7: aload 1
aload 5
invokevirtual com.sun.source.util.JavacTask.addTaskListener:(Lcom/sun/source/util/TaskListener;)V
end local 5 end local 4 8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 9 1 task Lcom/sun/source/util/JavacTask;
0 9 2 args [Ljava/lang/String;
0 9 3 addTaskListener Z
6 8 4 ds Ljdk/javadoc/internal/doclint/DocLint$DeclScanner;
7 8 5 tl Lcom/sun/source/util/TaskListener;
MethodParameters:
Name Flags
task
args
addTaskListener
public void init(com.sun.source.util.DocTrees, javax.lang.model.util.Elements, javax.lang.model.util.Types, java.lang.String[]);
descriptor: (Lcom/sun/source/util/DocTrees;Ljavax/lang/model/util/Elements;Ljavax/lang/model/util/Types;[Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new jdk.javadoc.internal.doclint.Env
dup
invokespecial jdk.javadoc.internal.doclint.Env.<init>:()V
putfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
1: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 1
aload 2
aload 3
invokevirtual jdk.javadoc.internal.doclint.Env.init:(Lcom/sun/source/util/DocTrees;Ljavax/lang/model/util/Elements;Ljavax/lang/model/util/Types;)V
2: aload 0
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 4
invokevirtual jdk.javadoc.internal.doclint.DocLint.processArgs:(Ljdk/javadoc/internal/doclint/Env;[Ljava/lang/String;)V
3: aload 0
new jdk.javadoc.internal.doclint.Checker
dup
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
invokespecial jdk.javadoc.internal.doclint.Checker.<init>:(Ljdk/javadoc/internal/doclint/Env;)V
putfield jdk.javadoc.internal.doclint.DocLint.checker:Ljdk/javadoc/internal/doclint/Checker;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 5 1 trees Lcom/sun/source/util/DocTrees;
0 5 2 elements Ljavax/lang/model/util/Elements;
0 5 3 types Ljavax/lang/model/util/Types;
0 5 4 args [Ljava/lang/String;
MethodParameters:
Name Flags
trees
elements
types
args
private void processArgs(jdk.javadoc.internal.doclint.Env, java.lang.String[]);
descriptor: (Ljdk/javadoc/internal/doclint/Env;[Ljava/lang/String;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals: jdk.javadoc.internal.doclint.DocLint jdk.javadoc.internal.doclint.Env java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
ldc "-Xmsgs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 1
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
aconst_null
invokevirtual jdk.javadoc.internal.doclint.Messages.setOptions:(Ljava/lang/String;)V
4: goto 15
StackMap locals: jdk.javadoc.internal.doclint.DocLint jdk.javadoc.internal.doclint.Env java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
5: aload 3
ldc "-Xmsgs:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
6: aload 1
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
aload 3
aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclint.Messages.setOptions:(Ljava/lang/String;)V
7: goto 15
StackMap locals:
StackMap stack:
8: aload 3
ldc "-XcustomTags:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
9: aload 1
aload 3
aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclint.Env.setCustomTags:(Ljava/lang/String;)V
10: goto 15
StackMap locals:
StackMap stack:
11: aload 3
ldc "-XcheckPackage:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
12: aload 1
aload 3
aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclint.Env.setCheckPackages:(Ljava/lang/String;)V
13: goto 15
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 15: StackMap locals: jdk.javadoc.internal.doclint.DocLint jdk.javadoc.internal.doclint.Env java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 5
if_icmplt 1
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 18 1 env Ljdk/javadoc/internal/doclint/Env;
0 18 2 args [Ljava/lang/String;
2 15 3 arg Ljava/lang/String;
MethodParameters:
Name Flags
env
args
public void scan(com.sun.source.util.TreePath);
descriptor: (Lcom/sun/source/util/TreePath;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
getfield jdk.javadoc.internal.doclint.Env.trees:Lcom/sun/source/util/DocTrees;
aload 1
invokevirtual com.sun.source.util.DocTrees.getDocCommentTree:(Lcom/sun/source/util/TreePath;)Lcom/sun/source/doctree/DocCommentTree;
astore 2
start local 2 1: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.checker:Ljdk/javadoc/internal/doclint/Checker;
aload 2
aload 1
invokevirtual jdk.javadoc.internal.doclint.Checker.scan:(Lcom/sun/source/doctree/DocCommentTree;Lcom/sun/source/util/TreePath;)Ljava/lang/Void;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 3 1 p Lcom/sun/source/util/TreePath;
1 3 2 dc Lcom/sun/source/doctree/DocCommentTree;
MethodParameters:
Name Flags
p
public boolean shouldCheck(com.sun.source.tree.CompilationUnitTree);
descriptor: (Lcom/sun/source/tree/CompilationUnitTree;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
aload 1
invokevirtual jdk.javadoc.internal.doclint.Env.shouldCheck:(Lcom/sun/source/tree/CompilationUnitTree;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 1 1 unit Lcom/sun/source/tree/CompilationUnitTree;
MethodParameters:
Name Flags
unit
public void reportStats(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
aload 1
invokevirtual jdk.javadoc.internal.doclint.Messages.reportStats:(Ljava/io/PrintWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 2 1 out Ljava/io/PrintWriter;
MethodParameters:
Name Flags
out
public boolean isValidOption(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "-Xmsgs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "-Xmsgs:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 1
ldc "-Xmsgs:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclint.Messages$Options.isValidOptions:(Ljava/lang/String;)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "-XcheckPackage:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 1
aload 1
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclint.Env.validatePackages:(Ljava/lang/String;)Z
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 7 1 opt Ljava/lang/String;
MethodParameters:
Name Flags
opt
private java.lang.String localize(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
ifnull 1
aload 0
getfield jdk.javadoc.internal.doclint.DocLint.env:Ljdk/javadoc/internal/doclint/Env;
getfield jdk.javadoc.internal.doclint.Env.messages:Ljdk/javadoc/internal/doclint/Messages;
goto 2
StackMap locals:
StackMap stack:
1: new jdk.javadoc.internal.doclint.Messages
dup
aconst_null
invokespecial jdk.javadoc.internal.doclint.Messages.<init>:(Ljdk/javadoc/internal/doclint/Env;)V
StackMap locals:
StackMap stack: jdk.javadoc.internal.doclint.Messages
2: astore 3
start local 3 3: aload 3
aload 1
aload 2
invokevirtual jdk.javadoc.internal.doclint.Messages.localize:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclint/DocLint;
0 4 1 code Ljava/lang/String;
0 4 2 args [Ljava/lang/Object;
3 4 3 m Ljdk/javadoc/internal/doclint/Messages;
MethodParameters:
Name Flags
code
args
}
SourceFile: "DocLint.java"
NestMembers:
jdk.javadoc.internal.doclint.DocLint$1 jdk.javadoc.internal.doclint.DocLint$2 jdk.javadoc.internal.doclint.DocLint$3 jdk.javadoc.internal.doclint.DocLint$BadArgs jdk.javadoc.internal.doclint.DocLint$DeclScanner
InnerClasses:
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager
jdk.javadoc.internal.doclint.DocLint$1
jdk.javadoc.internal.doclint.DocLint$2
jdk.javadoc.internal.doclint.DocLint$3
public BadArgs = jdk.javadoc.internal.doclint.DocLint$BadArgs of jdk.javadoc.internal.doclint.DocLint
abstract DeclScanner = jdk.javadoc.internal.doclint.DocLint$DeclScanner of jdk.javadoc.internal.doclint.DocLint
Options = jdk.javadoc.internal.doclint.Messages$Options of jdk.javadoc.internal.doclint.Messages