class edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine extends edu.umd.cs.findbugs.config.CommandLine
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine
super_class: edu.umd.cs.findbugs.config.CommandLine
{
private java.lang.String stylesheet;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean annotationUploadFormat;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int maxRank;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int summarizeMaxRank;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final edu.umd.cs.findbugs.Project project;
descriptor: Ledu/umd/cs/findbugs/Project;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean setExitCode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final edu.umd.cs.findbugs.PrintingBugReporter this$0;
descriptor: Ledu/umd/cs/findbugs/PrintingBugReporter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(edu.umd.cs.findbugs.PrintingBugReporter);
descriptor: (Ledu/umd/cs/findbugs/PrintingBugReporter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.this$0:Ledu/umd/cs/findbugs/PrintingBugReporter;
aload 0
invokespecial edu.umd.cs.findbugs.config.CommandLine.<init>:()V
1: aload 0
aconst_null
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.stylesheet:Ljava/lang/String;
2: aload 0
iconst_0
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.annotationUploadFormat:Z
3: aload 0
bipush 20
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.maxRank:I
4: aload 0
aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.maxRank:I
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.summarizeMaxRank:I
5: aload 0
new edu.umd.cs.findbugs.Project
dup
invokespecial edu.umd.cs.findbugs.Project.<init>:()V
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.project:Ledu/umd/cs/findbugs/Project;
6: aload 0
ldc "-longBugCodes"
ldc "use long bug codes when generating text"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
7: aload 0
ldc "-rank"
ldc "list rank when generating text"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
ldc "-maxRank"
ldc "max rank"
ldc "only list bugs of this rank or less"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
ldc "-summarizeMaxRank"
ldc "max rank"
ldc "summary bugs with of this rank or less"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: aload 0
ldc "-designations"
ldc "report user designations for each bug"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
11: aload 0
ldc "-history"
ldc "report first and last versions for each bug"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 0
ldc "-applySuppression"
ldc "exclude any bugs that match suppression filters"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
13: aload 0
ldc "-annotationUpload"
ldc "generate annotations in upload format"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
14: aload 0
ldc "-html"
ldc "stylesheet"
ldc "Generate HTML output (default stylesheet is default.xsl)"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitchWithOptionalExtraPart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
15: aload 0
ldc "-pluginList"
new java.lang.StringBuilder
dup
ldc "jar1["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "jar2...]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "specify list of plugin Jar files to load"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
16: aload 0
ldc "-exitcode"
ldc "set exit code of process"
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.addSwitch:(Ljava/lang/String;Ljava/lang/String;)V
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ledu/umd/cs/findbugs/PrintingBugReporter$PrintingCommandLine;
MethodParameters:
Name Flags
this$0 final
public edu.umd.cs.findbugs.Project getProject();
descriptor: ()Ledu/umd/cs/findbugs/Project;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.project:Ledu/umd/cs/findbugs/Project;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ledu/umd/cs/findbugs/PrintingBugReporter$PrintingCommandLine;
RuntimeVisibleAnnotations:
javax.annotation.Nonnull()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nonnull()
protected void handleOption(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "-longBugCodes"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.this$0:Ledu/umd/cs/findbugs/PrintingBugReporter;
iconst_1
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter.setUseLongBugCodes:(Z)V
2: goto 28
StackMap locals:
StackMap stack:
3: ldc "-rank"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.this$0:Ledu/umd/cs/findbugs/PrintingBugReporter;
iconst_1
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter.setShowRank:(Z)V
5: goto 28
StackMap locals:
StackMap stack:
6: ldc "-designations"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.this$0:Ledu/umd/cs/findbugs/PrintingBugReporter;
iconst_1
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter.setReportUserDesignations:(Z)V
8: goto 28
StackMap locals:
StackMap stack:
9: ldc "-applySuppression"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.this$0:Ledu/umd/cs/findbugs/PrintingBugReporter;
iconst_1
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter.setApplySuppressions:(Z)V
11: goto 28
StackMap locals:
StackMap stack:
12: ldc "-history"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
getfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.this$0:Ledu/umd/cs/findbugs/PrintingBugReporter;
iconst_1
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter.setReportHistory:(Z)V
14: goto 28
StackMap locals:
StackMap stack:
15: ldc "-annotationUpload"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 0
iconst_1
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.annotationUploadFormat:Z
17: goto 28
StackMap locals:
StackMap stack:
18: ldc "-html"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
19: ldc ""
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
20: aload 0
aload 2
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.stylesheet:Ljava/lang/String;
21: goto 28
22: StackMap locals:
StackMap stack:
aload 0
ldc "default.xsl"
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.stylesheet:Ljava/lang/String;
23: goto 28
StackMap locals:
StackMap stack:
24: ldc "-exitcode"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
25: aload 0
iconst_1
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.setExitCode:Z
26: goto 28
27: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown option '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ledu/umd/cs/findbugs/PrintingBugReporter$PrintingCommandLine;
0 29 1 option Ljava/lang/String;
0 29 2 optionExtraPart Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
option
optionExtraPart
protected void handleOptionWithArgument(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: ldc "-pluginList"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
1: aload 2
astore 3
start local 3 2: aload 0
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.getProject:()Ledu/umd/cs/findbugs/Project;
invokevirtual edu.umd.cs.findbugs.Project.getConfiguration:()Ledu/umd/cs/findbugs/config/UserPreferences;
invokevirtual edu.umd.cs.findbugs.config.UserPreferences.getCustomPlugins:()Ljava/util/Map;
astore 4
start local 4 3: new java.util.StringTokenizer
dup
aload 3
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 4: goto 15
5: StackMap locals: java.lang.String java.util.Map java.util.StringTokenizer
StackMap stack:
new java.io.File
dup
aload 5
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 6: aload 6
invokevirtual java.io.File.isFile:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 7
start local 7 7: aload 4
aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 7
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 15
9: aload 6
aload 0
invokevirtual edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.getProject:()Ledu/umd/cs/findbugs/Project;
invokestatic edu.umd.cs.findbugs.Plugin.loadCustomPlugin:(Ljava/io/File;Ledu/umd/cs/findbugs/Project;)Ledu/umd/cs/findbugs/Plugin;
pop
10: goto 15
StackMap locals: edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine java.lang.String java.lang.String java.lang.String java.util.Map java.util.StringTokenizer java.io.File java.lang.Boolean
StackMap stack: edu.umd.cs.findbugs.PluginException
11: astore 8
start local 8 12: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Failed to load plugin specified by the '-pluginList', file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
14: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 end local 7 end local 6 15: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 5
end local 5 end local 4 end local 3 16: goto 24
StackMap locals:
StackMap stack:
17: ldc "-maxRank"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 0
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.maxRank:I
19: goto 24
StackMap locals:
StackMap stack:
20: ldc "-summarizeMaxRank"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 0
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine.summarizeMaxRank:I
22: goto 24
23: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ledu/umd/cs/findbugs/PrintingBugReporter$PrintingCommandLine;
0 25 1 option Ljava/lang/String;
0 25 2 argument Ljava/lang/String;
2 16 3 pluginListStr Ljava/lang/String;
3 16 4 customPlugins Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
4 16 5 tok Ljava/util/StringTokenizer;
6 15 6 file Ljava/io/File;
7 15 7 enabled Ljava/lang/Boolean;
12 15 8 e Ledu/umd/cs/findbugs/PluginException;
Exception table:
from to target type
9 10 11 Class edu.umd.cs.findbugs.PluginException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
option
argument
}
SourceFile: "PrintingBugReporter.java"
NestHost: edu.umd.cs.findbugs.PrintingBugReporter
InnerClasses:
PrintingCommandLine = edu.umd.cs.findbugs.PrintingBugReporter$PrintingCommandLine of edu.umd.cs.findbugs.PrintingBugReporter