public class com.sun.tools.jdeps.JdepsFilter implements com.sun.tools.classfile.Dependency$Filter, com.sun.tools.jdeps.Analyzer$Filter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsFilter
super_class: java.lang.Object
{
public static final com.sun.tools.jdeps.JdepsFilter DEFAULT_FILTER;
descriptor: Lcom/sun/tools/jdeps/JdepsFilter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final com.sun.tools.classfile.Dependency$Filter filter;
descriptor: Lcom/sun/tools/classfile/Dependency$Filter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.regex.Pattern filterPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean filterSamePackage;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean filterSameArchive;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean findJDKInternals;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.regex.Pattern includePattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.lang.String> requires;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.sun.tools.jdeps.JdepsFilter$Builder
dup
invokespecial com.sun.tools.jdeps.JdepsFilter$Builder.<init>:()V
iconst_1
iconst_1
invokevirtual com.sun.tools.jdeps.JdepsFilter$Builder.filter:(ZZ)Lcom/sun/tools/jdeps/JdepsFilter$Builder;
invokevirtual com.sun.tools.jdeps.JdepsFilter$Builder.build:()Lcom/sun/tools/jdeps/JdepsFilter;
1: putstatic com.sun.tools.jdeps.JdepsFilter.DEFAULT_FILTER:Lcom/sun/tools/jdeps/JdepsFilter;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.sun.tools.classfile.Dependency$Filter, java.util.regex.Pattern, boolean, boolean, boolean, java.util.regex.Pattern, java.util.Set<java.lang.String>);
descriptor: (Lcom/sun/tools/classfile/Dependency$Filter;Ljava/util/regex/Pattern;ZZZLjava/util/regex/Pattern;Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.jdeps.JdepsFilter.filter:Lcom/sun/tools/classfile/Dependency$Filter;
2: aload 0
aload 2
putfield com.sun.tools.jdeps.JdepsFilter.filterPattern:Ljava/util/regex/Pattern;
3: aload 0
iload 3
putfield com.sun.tools.jdeps.JdepsFilter.filterSamePackage:Z
4: aload 0
iload 4
putfield com.sun.tools.jdeps.JdepsFilter.filterSameArchive:Z
5: aload 0
iload 5
putfield com.sun.tools.jdeps.JdepsFilter.findJDKInternals:Z
6: aload 0
aload 6
putfield com.sun.tools.jdeps.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
7: aload 0
aload 7
putfield com.sun.tools.jdeps.JdepsFilter.requires:Ljava/util/Set;
8: return
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 9 0 this Lcom/sun/tools/jdeps/JdepsFilter;
0 9 1 filter Lcom/sun/tools/classfile/Dependency$Filter;
0 9 2 filterPattern Ljava/util/regex/Pattern;
0 9 3 filterSamePackage Z
0 9 4 filterSameArchive Z
0 9 5 findJDKInternals Z
0 9 6 includePattern Ljava/util/regex/Pattern;
0 9 7 requires Ljava/util/Set<Ljava/lang/String;>;
Signature: (Lcom/sun/tools/classfile/Dependency$Filter;Ljava/util/regex/Pattern;ZZZLjava/util/regex/Pattern;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
filter
filterPattern
filterSamePackage
filterSameArchive
findJDKInternals
includePattern
requires
public boolean matches(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
ifnull 4
3: aload 0
getfield com.sun.tools.jdeps.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsFilter;
0 5 1 cn Ljava/lang/String;
MethodParameters:
Name Flags
cn
public boolean matches(com.sun.tools.jdeps.Archive);
descriptor: (Lcom/sun/tools/jdeps/Archive;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
ifnull 6
1: aload 1
invokevirtual com.sun.tools.jdeps.Archive.reader:()Lcom/sun/tools/jdeps/ClassFileReader;
invokevirtual com.sun.tools.jdeps.ClassFileReader.entries:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
2: 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/JdepsFilter.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
com/sun/tools/jdeps/JdepsFilter.lambda$1(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
4: aload 0
invokedynamic test(Lcom/sun/tools/jdeps/JdepsFilter;)Ljava/util/function/Predicate;
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;)Z
com/sun/tools/jdeps/JdepsFilter.matches(Ljava/lang/String;)Z (5)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
5: ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.jdeps.JdepsFilter.hasTargetFilter:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/jdeps/JdepsFilter;
0 7 1 source Lcom/sun/tools/jdeps/Archive;
MethodParameters:
Name Flags
source
public boolean hasIncludePattern();
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.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
ifnull 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/JdepsFilter;
public boolean hasTargetFilter();
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.JdepsFilter.filter:Lcom/sun/tools/classfile/Dependency$Filter;
ifnull 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/JdepsFilter;
public java.util.Set<java.lang.String> requiresFilter();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsFilter.requires:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsFilter;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public boolean accepts(com.sun.tools.classfile.Dependency);
descriptor: (Lcom/sun/tools/classfile/Dependency;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.tools.classfile.Dependency.getOrigin:()Lcom/sun/tools/classfile/Dependency$Location;
aload 1
invokeinterface com.sun.tools.classfile.Dependency.getTarget:()Lcom/sun/tools/classfile/Dependency$Location;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.tools.classfile.Dependency.getTarget:()Lcom/sun/tools/classfile/Dependency$Location;
invokeinterface com.sun.tools.classfile.Dependency$Location.getPackageName:()Ljava/lang/String;
astore 2
start local 2 3: aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filterSamePackage:Z
ifeq 5
aload 1
invokeinterface com.sun.tools.classfile.Dependency.getOrigin:()Lcom/sun/tools/classfile/Dependency$Location;
invokeinterface com.sun.tools.classfile.Dependency$Location.getPackageName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filterPattern:Ljava/util/regex/Pattern;
ifnull 7
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filterPattern:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filter:Lcom/sun/tools/classfile/Dependency$Filter;
ifnull 8
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filter:Lcom/sun/tools/classfile/Dependency$Filter;
aload 1
invokeinterface com.sun.tools.classfile.Dependency$Filter.accepts:(Lcom/sun/tools/classfile/Dependency;)Z
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/jdeps/JdepsFilter;
0 10 1 d Lcom/sun/tools/classfile/Dependency;
3 10 2 pn Ljava/lang/String;
MethodParameters:
Name Flags
d
public boolean accepts(com.sun.tools.classfile.Dependency$Location, com.sun.tools.jdeps.Archive, com.sun.tools.classfile.Dependency$Location, com.sun.tools.jdeps.Archive);
descriptor: (Lcom/sun/tools/classfile/Dependency$Location;Lcom/sun/tools/jdeps/Archive;Lcom/sun/tools/classfile/Dependency$Location;Lcom/sun/tools/jdeps/Archive;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.tools.jdeps.JdepsFilter.findJDKInternals:Z
ifeq 6
1: aload 4
invokevirtual com.sun.tools.jdeps.Archive.getModule:()Lcom/sun/tools/jdeps/Module;
astore 5
start local 5 2: aload 2
aload 4
if_acmpeq 5
3: aload 0
aload 5
aload 3
invokeinterface com.sun.tools.classfile.Dependency$Location.getPackageName:()Ljava/lang/String;
invokevirtual com.sun.tools.jdeps.JdepsFilter.isJDKInternalPackage:(Lcom/sun/tools/jdeps/Module;Ljava/lang/String;)Z
ifeq 5
4: iconst_1
ireturn
StackMap locals: com.sun.tools.jdeps.Module
StackMap stack:
5: iconst_0
ireturn
end local 5 6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filterSameArchive:Z
ifeq 9
7: aload 2
aload 4
if_acmpeq 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/jdeps/JdepsFilter;
0 10 1 origin Lcom/sun/tools/classfile/Dependency$Location;
0 10 2 originArchive Lcom/sun/tools/jdeps/Archive;
0 10 3 target Lcom/sun/tools/classfile/Dependency$Location;
0 10 4 targetArchive Lcom/sun/tools/jdeps/Archive;
2 6 5 module Lcom/sun/tools/jdeps/Module;
MethodParameters:
Name Flags
origin
originArchive
target
targetArchive
public boolean isJDKInternalPackage(com.sun.tools.jdeps.Module, java.lang.String);
descriptor: (Lcom/sun/tools/jdeps/Module;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.tools.jdeps.Module.isJDKUnsupported:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.tools.jdeps.Module.isJDK:()Z
ifeq 3
aload 1
aload 2
invokevirtual com.sun.tools.jdeps.Module.isExported:(Ljava/lang/String;)Z
ifne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsFilter;
0 4 1 module Lcom/sun/tools/jdeps/Module;
0 4 2 pn Ljava/lang/String;
MethodParameters:
Name Flags
module
pn
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "include pattern: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.includePattern:Ljava/util/regex/Pattern;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "filter same archive: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filterSameArchive:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "filter same package: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.filterSamePackage:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc "requires: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.jdeps.JdepsFilter.requires:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdeps/JdepsFilter;
1 6 1 sb Ljava/lang/StringBuilder;
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
private static boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
}
SourceFile: "JdepsFilter.java"
NestMembers:
com.sun.tools.jdeps.JdepsFilter$Builder
InnerClasses:
public abstract Filter = com.sun.tools.classfile.Dependency$Filter of com.sun.tools.classfile.Dependency
public abstract Location = com.sun.tools.classfile.Dependency$Location of com.sun.tools.classfile.Dependency
abstract Filter = com.sun.tools.jdeps.Analyzer$Filter of com.sun.tools.jdeps.Analyzer
public Builder = com.sun.tools.jdeps.JdepsFilter$Builder of com.sun.tools.jdeps.JdepsFilter
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles