class com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps extends com.sun.tools.jdeps.JdepsTask$AnalyzeDeps
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps
super_class: com.sun.tools.jdeps.JdepsTask$AnalyzeDeps
{
final com.sun.tools.jdeps.JdepsTask this$0;
descriptor: Lcom/sun/tools/jdeps/JdepsTask;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.jdeps.JdepsTask);
descriptor: (Lcom/sun/tools/jdeps/JdepsTask;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
aload 0
aload 1
invokespecial com.sun.tools.jdeps.JdepsTask$AnalyzeDeps.<init>:(Lcom/sun/tools/jdeps/JdepsTask;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;
MethodParameters:
Name Flags
this$0 final
boolean checkOptions();
descriptor: ()Z
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.depth:I
iconst_1
if_icmpeq 3
1: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.invalid.options"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "-R"
aastore
dup
iconst_1
ldc "--inverse"
aastore
invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
invokevirtual com.sun.tools.jdeps.JdepsTask$Options.numFilters:()I
ifne 6
4: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.filter.not.specified"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.tools.jdeps.JdepsTask$AnalyzeDeps.checkOptions:()Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;
boolean run(com.sun.tools.jdeps.JdepsConfiguration);
descriptor: (Lcom/sun/tools/jdeps/JdepsConfiguration;)Z
flags: (0x0000)
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.getAnalyzerType:()Lcom/sun/tools/jdeps/Analyzer$Type;
astore 2
start local 2 1: new com.sun.tools.jdeps.InverseDepsAnalyzer
dup
aload 1
2: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
aload 1
invokevirtual com.sun.tools.jdeps.JdepsTask.dependencyFilter:(Lcom/sun/tools/jdeps/JdepsConfiguration;)Lcom/sun/tools/jdeps/JdepsFilter;
3: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.writer:Lcom/sun/tools/jdeps/JdepsWriter;
4: aload 2
5: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.apiOnly:Z
6: invokespecial com.sun.tools.jdeps.InverseDepsAnalyzer.<init>:(Lcom/sun/tools/jdeps/JdepsConfiguration;Lcom/sun/tools/jdeps/JdepsFilter;Lcom/sun/tools/jdeps/JdepsWriter;Lcom/sun/tools/jdeps/Analyzer$Type;Z)V
7: astore 3
start local 3 8: aload 3
invokevirtual com.sun.tools.jdeps.InverseDepsAnalyzer.run:()Z
istore 4
start local 4 9: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
10: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.requires:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 15
11: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.log:Ljava/io/PrintWriter;
ldc "inverse.transitive.dependencies.on"
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.requires:Ljava/util/Set;
aastore
13: invokestatic com.sun.tools.jdeps.JdepsTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
14: goto 21
15: StackMap locals: com.sun.tools.jdeps.Analyzer$Type com.sun.tools.jdeps.InverseDepsAnalyzer int
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.log:Ljava/io/PrintWriter;
ldc "inverse.transitive.dependencies.matching"
iconst_1
anewarray java.lang.Object
dup
iconst_0
16: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.regex:Ljava/util/regex/Pattern;
ifnull 18
17: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.regex:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.toString:()Ljava/lang/String;
goto 19
18: StackMap locals: com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps com.sun.tools.jdeps.JdepsConfiguration com.sun.tools.jdeps.Analyzer$Type com.sun.tools.jdeps.InverseDepsAnalyzer int
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int
new java.lang.StringBuilder
dup
ldc "packages "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.packageNames:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps com.sun.tools.jdeps.JdepsConfiguration com.sun.tools.jdeps.Analyzer$Type com.sun.tools.jdeps.InverseDepsAnalyzer int
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
19: aastore
20: invokestatic com.sun.tools.jdeps.JdepsTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.tools.jdeps.InverseDepsAnalyzer.inverseDependences:()Ljava/util/Set;
22: invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
23: aload 0
invokevirtual com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.comparator:()Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
24: aload 0
invokedynamic apply(Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;)Ljava/util/function/Function;
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/lang/Object;)Ljava/lang/Object;
com/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps.toInversePath(Ljava/util/Deque;)Ljava/lang/String; (7)
(Ljava/util/Deque;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
25: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.log:Ljava/io/PrintWriter;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintWriter;)Ljava/util/function/Consumer;
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/lang/Object;)V
java/io/PrintWriter.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
26: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;
0 27 1 config Lcom/sun/tools/jdeps/JdepsConfiguration;
1 27 2 type Lcom/sun/tools/jdeps/Analyzer$Type;
8 27 3 analyzer Lcom/sun/tools/jdeps/InverseDepsAnalyzer;
9 27 4 ok Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
private java.lang.String toInversePath(java.util.Deque<com.sun.tools.jdeps.Archive>);
descriptor: (Ljava/util/Deque;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Deque.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
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/lang/Object;)Ljava/lang/Object;
com/sun/tools/jdeps/Archive.getName()Ljava/lang/String; (5)
(Lcom/sun/tools/jdeps/Archive;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: ldc " <- "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;
0 4 1 path Ljava/util/Deque<Lcom/sun/tools/jdeps/Archive;>;
Signature: (Ljava/util/Deque<Lcom/sun/tools/jdeps/Archive;>;)Ljava/lang/String;
MethodParameters:
Name Flags
path
private java.util.Comparator<java.util.Deque<com.sun.tools.jdeps.Archive>> comparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokedynamic apply()Ljava/util/function/Function;
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/lang/Object;)Ljava/lang/Object;
com/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps.lambda$3(Ljava/util/Deque;)Ljava/lang/String; (6)
(Ljava/util/Deque;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
1: invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
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/lang/Object;)I
java/util/Deque.size()I (9 itf)
(Ljava/util/Deque;)I
invokeinterface java.util.Comparator.thenComparingInt:(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;
2: aload 0
invokedynamic apply(Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;)Ljava/util/function/Function;
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/lang/Object;)Ljava/lang/Object;
com/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps.toInversePath(Ljava/util/Deque;)Ljava/lang/String; (7)
(Ljava/util/Deque;)Ljava/lang/String;
invokeinterface java.util.Comparator.thenComparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;
Signature: ()Ljava/util/Comparator<Ljava/util/Deque<Lcom/sun/tools/jdeps/Archive;>;>;
public boolean allModules();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.requires:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
ifle 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 Lcom/sun/tools/jdeps/JdepsTask$InverseAnalyzeDeps;
private static java.lang.String lambda$3(java.util.Deque);
descriptor: (Ljava/util/Deque;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Deque.peekFirst:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Archive
invokevirtual com.sun.tools.jdeps.Archive.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 deque Ljava/util/Deque<Lcom/sun/tools/jdeps/Archive;>;
}
SourceFile: "JdepsTask.java"
NestHost: com.sun.tools.jdeps.JdepsTask
InnerClasses:
public final Type = com.sun.tools.jdeps.Analyzer$Type of com.sun.tools.jdeps.Analyzer
AnalyzeDeps = com.sun.tools.jdeps.JdepsTask$AnalyzeDeps of com.sun.tools.jdeps.JdepsTask
InverseAnalyzeDeps = com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps of com.sun.tools.jdeps.JdepsTask
private Options = com.sun.tools.jdeps.JdepsTask$Options of com.sun.tools.jdeps.JdepsTask
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles