class com.sun.tools.jdeps.Analyzer$Jdk8Internals extends com.sun.tools.jdeps.Module
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.Analyzer$Jdk8Internals
super_class: com.sun.tools.jdeps.Module
{
private static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JDK removed internal API"
private static final java.lang.String JDK8_INTERNALS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/com/sun/tools/jdeps/resources/jdk8_internals.txt"
private final java.util.Set<java.lang.String> jdk8Internals;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
ldc "JDK removed internal API"
ldc "jdk8internals"
invokestatic java.lang.module.ModuleDescriptor.newModule:(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Builder;
invokevirtual java.lang.module.ModuleDescriptor$Builder.build:()Ljava/lang/module/ModuleDescriptor;
iconst_1
invokespecial com.sun.tools.jdeps.Module.<init>:(Ljava/lang/String;Ljava/lang/module/ModuleDescriptor;Z)V
1: aconst_null
astore 1
aconst_null
astore 2
2: ldc Lcom/sun/tools/jdeps/JdepsTask;
ldc "/com/sun/tools/jdeps/resources/jdk8_internals.txt"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 3: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 3
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
start local 4 4: aload 0
aload 4
invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
5: 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/Analyzer$Jdk8Internals.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
7: putfield com.sun.tools.jdeps.Analyzer$Jdk8Internals.jdk8Internals:Ljava/util/Set;
8: aload 4
ifnull 11
aload 4
invokevirtual java.io.BufferedReader.close:()V
goto 11
StackMap locals: com.sun.tools.jdeps.Analyzer$Jdk8Internals java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.BufferedReader
StackMap stack: java.lang.Throwable
9: astore 1
aload 4
ifnull 10
aload 4
invokevirtual java.io.BufferedReader.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack:
11: aload 3
ifnull 21
aload 3
invokevirtual java.io.InputStream.close:()V
goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
aload 1
ifnonnull 13
aload 2
astore 1
goto 14
StackMap locals:
StackMap stack:
13: aload 1
aload 2
if_acmpeq 14
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 3
ifnull 15
aload 3
invokevirtual java.io.InputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
15: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 2
aload 1
ifnonnull 17
aload 2
astore 1
goto 18
StackMap locals:
StackMap stack:
17: aload 1
aload 2
if_acmpeq 18
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 1
athrow
StackMap locals: com.sun.tools.jdeps.Analyzer$Jdk8Internals
StackMap stack: java.io.IOException
19: astore 1
start local 1 20: new java.io.UncheckedIOException
dup
aload 1
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 1 21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/tools/jdeps/Analyzer$Jdk8Internals;
3 15 3 in Ljava/io/InputStream;
4 10 4 reader Ljava/io/BufferedReader;
20 21 1 e Ljava/io/IOException;
Exception table:
from to target type
4 8 9 any
3 11 12 any
2 16 16 any
1 19 19 Class java.io.IOException
public boolean contains(com.sun.tools.classfile.Dependency$Location);
descriptor: (Lcom/sun/tools/classfile/Dependency$Location;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.tools.classfile.Dependency$Location.getClassName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 2: iload 3
ifle 3
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 4
StackMap locals: java.lang.String int
StackMap stack:
3: ldc ""
StackMap locals:
StackMap stack: java.lang.String
4: astore 4
start local 4 5: aload 0
getfield com.sun.tools.jdeps.Analyzer$Jdk8Internals.jdk8Internals:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdeps/Analyzer$Jdk8Internals;
0 6 1 location Lcom/sun/tools/classfile/Dependency$Location;
1 6 2 cn Ljava/lang/String;
2 6 3 i I
5 6 4 pn Ljava/lang/String;
MethodParameters:
Name Flags
location
public boolean isJDK();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Analyzer$Jdk8Internals;
public boolean isExported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Analyzer$Jdk8Internals;
0 1 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
private static boolean lambda$0(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 "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)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 ln Ljava/lang/String;
}
SourceFile: "Analyzer.java"
NestHost: com.sun.tools.jdeps.Analyzer
InnerClasses:
public abstract Location = com.sun.tools.classfile.Dependency$Location of com.sun.tools.classfile.Dependency
Jdk8Internals = com.sun.tools.jdeps.Analyzer$Jdk8Internals of com.sun.tools.jdeps.Analyzer
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = java.lang.module.ModuleDescriptor$Builder of java.lang.module.ModuleDescriptor