class com.sun.tools.classfile.Dependencies$TargetPackageFilter implements com.sun.tools.classfile.Dependency$Filter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.classfile.Dependencies$TargetPackageFilter
super_class: java.lang.Object
{
private final java.util.Set<java.lang.String> packageNames;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final boolean matchSubpackages;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.util.Set<java.lang.String>, );
descriptor: (Ljava/util/Set;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.sun.tools.classfile.Dependencies$TargetPackageFilter java.util.Set int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.length:()I
ifne 5
4: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 0
aload 1
putfield com.sun.tools.classfile.Dependencies$TargetPackageFilter.packageNames:Ljava/util/Set;
7: aload 0
iload 2
putfield com.sun.tools.classfile.Dependencies$TargetPackageFilter.matchSubpackages:Z
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/classfile/Dependencies$TargetPackageFilter;
0 9 1 packageNames Ljava/util/Set<Ljava/lang/String;>;
0 9 2 matchSubpackages Z
3 5 3 pn Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/String;>;Z)V
MethodParameters:
Name Flags
packageNames
matchSubpackages
public boolean accepts(com.sun.tools.classfile.Dependency);
descriptor: (Lcom/sun/tools/classfile/Dependency;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: 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 1: aload 0
getfield com.sun.tools.classfile.Dependencies$TargetPackageFilter.packageNames:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.classfile.Dependencies$TargetPackageFilter.matchSubpackages:Z
ifeq 9
4: aload 0
getfield com.sun.tools.classfile.Dependencies$TargetPackageFilter.packageNames:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: com.sun.tools.classfile.Dependencies$TargetPackageFilter com.sun.tools.classfile.Dependency java.lang.String top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 6: aload 2
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
7: iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: StackMap locals: com.sun.tools.classfile.Dependencies$TargetPackageFilter com.sun.tools.classfile.Dependency java.lang.String
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/classfile/Dependencies$TargetPackageFilter;
0 10 1 dependency Lcom/sun/tools/classfile/Dependency;
1 10 2 pn Ljava/lang/String;
6 8 3 n Ljava/lang/String;
MethodParameters:
Name Flags
dependency
}
SourceFile: "Dependencies.java"
NestHost: com.sun.tools.classfile.Dependencies
InnerClasses:
TargetPackageFilter = com.sun.tools.classfile.Dependencies$TargetPackageFilter of com.sun.tools.classfile.Dependencies
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