public class jdk.javadoc.internal.doclets.toolkit.util.Extern
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.toolkit.util.Extern
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, jdk.javadoc.internal.doclets.toolkit.util.Extern$Item> moduleItems;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;>;
private java.util.Map<java.lang.String, java.util.Map<java.lang.String, jdk.javadoc.internal.doclets.toolkit.util.Extern$Item>> packageItems;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;>;>;
private final jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.javadoc.internal.doclets.toolkit.Resources resources;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/Resources;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.javadoc.internal.doclets.toolkit.util.Utils utils;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean linkoffline;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.moduleItems:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.packageItems:Ljava/util/Map;
3: aload 0
iconst_0
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.linkoffline:Z
4: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
5: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.getResources:()Ljdk/javadoc/internal/doclets/toolkit/Resources;
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
6: aload 0
aload 1
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 8 1 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
MethodParameters:
Name Flags
configuration
public boolean isExternal(javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.packageItems:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.containingPackage:(Ljavax/lang/model/element/Element;)Ljavax/lang/model/element/PackageElement;
astore 2
start local 2 3: aload 2
invokeinterface javax.lang.model.element.PackageElement.isUnnamed:()Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals: javax.lang.model.element.PackageElement
StackMap stack:
aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.findElementItem:(Ljavax/lang/model/element/Element;)Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
ifnull 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 7 1 element Ljavax/lang/model/element/Element;
3 7 2 pe Ljavax/lang/model/element/PackageElement;
MethodParameters:
Name Flags
element
public boolean isModule(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.moduleItems:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
ireturn
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 3 1 elementName Ljava/lang/String;
1 3 2 elem Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
MethodParameters:
Name Flags
elementName
public jdk.javadoc.internal.doclets.toolkit.util.DocLink getExternalLink(javax.lang.model.element.Element, jdk.javadoc.internal.doclets.toolkit.util.DocPath, java.lang.String);
descriptor: (Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.getExternalLink:(Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 1 1 element Ljavax/lang/model/element/Element;
0 1 2 relativepath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 1 3 filename Ljava/lang/String;
MethodParameters:
Name Flags
element
relativepath
filename
public jdk.javadoc.internal.doclets.toolkit.util.DocLink getExternalLink(javax.lang.model.element.Element, jdk.javadoc.internal.doclets.toolkit.util.DocPath, java.lang.String, java.lang.String);
descriptor: (Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.findElementItem:(Ljavax/lang/model/element/Element;)Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
astore 5
start local 5 1: aload 5
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
StackMap stack:
aload 5
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern$Item.relative:Z
ifeq 5
4: aload 2
aload 5
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern$Item.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.resolve:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.resolve:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
goto 6
5: StackMap locals:
StackMap stack:
aload 5
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern$Item.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.resolve:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
6: StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath
astore 6
start local 6 7: new jdk.javadoc.internal.doclets.toolkit.util.DocLink
dup
aload 6
ldc "is-external=true"
aload 4
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocLink.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;Ljava/lang/String;)V
areturn
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 8 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 8 1 element Ljavax/lang/model/element/Element;
0 8 2 relativepath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 8 3 filename Ljava/lang/String;
0 8 4 memberName Ljava/lang/String;
1 8 5 fnd Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
7 8 6 p Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
element
relativepath
filename
memberName
public boolean link(java.lang.String, jdk.javadoc.doclet.Reporter);
descriptor: (Ljava/lang/String;Ljdk/javadoc/doclet/Reporter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
aload 2
iconst_0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.link:(Ljava/lang/String;Ljava/lang/String;Ljdk/javadoc/doclet/Reporter;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 1 1 url Ljava/lang/String;
0 1 2 reporter Ljdk/javadoc/doclet/Reporter;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
url
reporter
public boolean link(java.lang.String, java.lang.String, jdk.javadoc.doclet.Reporter);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/javadoc/doclet/Reporter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.link:(Ljava/lang/String;Ljava/lang/String;Ljdk/javadoc/doclet/Reporter;Z)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 1 1 url Ljava/lang/String;
0 1 2 elemlisturl Ljava/lang/String;
0 1 3 reporter Ljdk/javadoc/doclet/Reporter;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
url
elemlisturl
reporter
private boolean link(java.lang.String, java.lang.String, jdk.javadoc.doclet.Reporter, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/javadoc/doclet/Reporter;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 4
putfield jdk.javadoc.internal.doclets.toolkit.util.Extern.linkoffline:Z
1: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.adjustEndFileSeparator:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.isUrl:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
aload 1
aload 0
aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.adjustEndFileSeparator:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.toURL:(Ljava/lang/String;)Ljava/net/URL;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementListFromURL:(Ljava/lang/String;Ljava/net/URL;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
aload 2
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.createFileForInput:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementListFromFile:(Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;)V
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
astore 5
start local 5 8: aload 3
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.getMessage:()Ljava/lang/String;
invokeinterface jdk.javadoc.doclet.Reporter.print:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;)V
9: iconst_0
ireturn
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 10 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 10 1 url Ljava/lang/String;
0 10 2 elemlisturl Ljava/lang/String;
0 10 3 reporter Ljdk/javadoc/doclet/Reporter;
0 10 4 linkoffline Z
8 10 5 f Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Fault;
Exception table:
from to target type
1 6 7 Class jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
url
elemlisturl
reporter
linkoffline
private jdk.javadoc.internal.doclets.toolkit.util.Extern$Item findElementItem(javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;)Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
instanceof javax.lang.model.element.ModuleElement
ifeq 4
2: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.moduleItems:Ljava/util/Map;
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 1
checkcast javax.lang.model.element.ModuleElement
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getModuleName:(Ljavax/lang/model/element/ModuleElement;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
astore 2
3: goto 15
4: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
StackMap stack:
aload 1
instanceof javax.lang.model.element.PackageElement
ifeq 15
5: aload 1
checkcast javax.lang.model.element.PackageElement
astore 3
start local 3 6: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.containingModule:(Ljavax/lang/model/element/Element;)Ljavax/lang/model/element/ModuleElement;
astore 4
start local 4 7: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.packageItems:Ljava/util/Map;
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getModuleName:(Ljavax/lang/model/element/ModuleElement;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 5
start local 5 8: aload 5
ifnull 9
aload 5
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getPackageName:(Ljavax/lang/model/element/PackageElement;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
goto 10
StackMap locals: javax.lang.model.element.PackageElement javax.lang.model.element.ModuleElement java.util.Map
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
10: astore 2
11: aload 2
ifnonnull 15
aload 0
aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.isAutomaticModule:(Ljavax/lang/model/element/ModuleElement;)Z
ifeq 15
12: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.packageItems:Ljava/util/Map;
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aconst_null
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getModuleName:(Ljavax/lang/model/element/ModuleElement;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 5
13: aload 5
ifnull 15
14: aload 5
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getPackageName:(Ljavax/lang/model/element/PackageElement;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
astore 2
end local 5 end local 4 end local 3 15: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 16 1 element Ljavax/lang/model/element/Element;
1 16 2 item Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
6 15 3 packageElement Ljavax/lang/model/element/PackageElement;
7 15 4 moduleElement Ljavax/lang/model/element/ModuleElement;
8 15 5 pkgMap Ljava/util/Map<Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;>;
MethodParameters:
Name Flags
element
private java.lang.String adjustEndFileSeparator(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 3 1 url Ljava/lang/String;
MethodParameters:
Name Flags
url
private void readElementListFromURL(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.ELEMENT_LIST:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
invokevirtual java.net.URI.resolve:(Ljava/lang/String;)Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 3
start local 3 1: aconst_null
astore 4
aconst_null
astore 5
2: aload 0
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.open:(Ljava/net/URL;)Ljava/io/InputStream;
astore 6
start local 6 3: aload 0
aload 6
aload 1
iconst_0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementList:(Ljava/io/InputStream;Ljava/lang/String;Z)V
4: aload 6
ifnull 14
aload 6
invokevirtual java.io.InputStream.close:()V
goto 14
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.lang.String java.net.URL java.net.URL java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
5: astore 4
aload 6
ifnull 6
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
6: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 5
aload 4
ifnonnull 8
aload 5
astore 4
goto 9
StackMap locals:
StackMap stack:
8: aload 4
aload 5
if_acmpeq 9
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 4
athrow
end local 3 10: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.lang.String java.net.URL
StackMap stack: java.lang.Exception
astore 3
start local 3 11: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.MalformedURL"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 12: StackMap locals:
StackMap stack: java.io.IOException
pop
13: aload 0
aload 1
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readAlternateURL:(Ljava/lang/String;Ljava/net/URL;)V
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 15 1 urlpath Ljava/lang/String;
0 15 2 elemlisturlpath Ljava/net/URL;
1 10 3 link Ljava/net/URL;
3 6 6 in Ljava/io/InputStream;
11 12 3 exc Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 any
2 7 7 any
0 10 10 Class java.net.URISyntaxException
0 10 10 Class java.net.MalformedURLException
0 10 12 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
MethodParameters:
Name Flags
urlpath
elemlisturlpath
private void readAlternateURL(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.PACKAGE_LIST:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
invokevirtual java.net.URI.resolve:(Ljava/lang/String;)Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 3
start local 3 1: aconst_null
astore 4
aconst_null
astore 5
2: aload 0
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.open:(Ljava/net/URL;)Ljava/io/InputStream;
astore 6
start local 6 3: aload 0
aload 6
aload 1
iconst_0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementList:(Ljava/io/InputStream;Ljava/lang/String;Z)V
4: aload 6
ifnull 14
aload 6
invokevirtual java.io.InputStream.close:()V
goto 14
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.lang.String java.net.URL java.net.URL java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
5: astore 4
aload 6
ifnull 6
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
6: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 5
aload 4
ifnonnull 8
aload 5
astore 4
goto 9
StackMap locals:
StackMap stack:
8: aload 4
aload 5
if_acmpeq 9
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 4
athrow
end local 3 10: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.lang.String java.net.URL
StackMap stack: java.lang.Exception
astore 3
start local 3 11: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.MalformedURL"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 12: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 13: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.URL_error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 15 1 urlpath Ljava/lang/String;
0 15 2 elemlisturlpath Ljava/net/URL;
1 10 3 link Ljava/net/URL;
3 6 6 in Ljava/io/InputStream;
11 12 3 exc Ljava/lang/Exception;
13 14 3 exc Ljava/io/IOException;
Exception table:
from to target type
3 4 5 any
2 7 7 any
0 10 10 Class java.net.URISyntaxException
0 10 10 Class java.net.MalformedURLException
0 10 12 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
MethodParameters:
Name Flags
urlpath
elemlisturlpath
private void readElementListFromFile(java.lang.String, jdk.javadoc.internal.doclets.toolkit.util.DocFile);
descriptor: (Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.ELEMENT_LIST:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.resolve:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
astore 3
start local 3 1: aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.isAbsolute:()Z
ifne 3
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.linkoffline:Z
ifne 3
2: aload 3
getstatic javax.tools.DocumentationTool$Location.DOCUMENTATION_OUTPUT:Ljavax/tools/DocumentationTool$Location;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.resolveAgainst:(Ljavax/tools/JavaFileManager$Location;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
astore 3
3: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile
StackMap stack:
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.exists:()Z
ifeq 6
4: aload 0
aload 3
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementList:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/lang/String;)V
5: goto 13
6: StackMap locals:
StackMap stack:
aload 2
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.PACKAGE_LIST:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.resolve:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
astore 4
start local 4 7: aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.isAbsolute:()Z
ifne 9
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.linkoffline:Z
ifne 9
8: aload 4
getstatic javax.tools.DocumentationTool$Location.DOCUMENTATION_OUTPUT:Ljavax/tools/DocumentationTool$Location;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.resolveAgainst:(Ljavax/tools/JavaFileManager$Location;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
astore 4
9: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile
StackMap stack:
aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.exists:()Z
ifeq 12
10: aload 0
aload 4
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementList:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/lang/String;)V
11: goto 13
12: StackMap locals:
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.File_error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.getPath:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 14 1 path Ljava/lang/String;
0 14 2 elemListPath Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
1 14 3 file Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
7 13 4 file1 Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault, jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
path
elemListPath
private void readElementList(jdk.javadoc.internal.doclets.toolkit.util.DocFile, java.lang.String);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.canRead:()Z
ifeq 8
1: aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.isUrl:(Ljava/lang/String;)Z
ifne 4
2: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
aload 2
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.createFileForInput:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.isAbsolute:()Z
ifne 4
3: iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openInputStream:()Ljava/io/InputStream;
aload 2
iload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.readElementList:(Ljava/io/InputStream;Ljava/lang/String;Z)V
end local 3 7: goto 11
8: StackMap locals:
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.File_error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.getPath:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
9: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 10: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.File_error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.getPath:()Ljava/lang/String;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 12 1 file Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 12 2 path Ljava/lang/String;
6 7 3 pathIsRelative Z
10 11 3 exc Ljava/io/IOException;
Exception table:
from to target type
0 9 9 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault, jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
file
path
private void readElementList(java.io.InputStream, java.lang.String, boolean);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 2: aconst_null
astore 9
start local 9 3: aload 2
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.create:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 10
start local 10 4: goto 25
start local 7 5: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.io.InputStream java.lang.String int java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String top java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath
StackMap stack:
aload 7
invokevirtual java.lang.String.length:()I
ifle 25
6: aload 10
astore 8
start local 8 7: aload 7
ldc "module:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
8: aload 7
ldc "module:"
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 9
9: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
dup
aload 0
aload 9
aload 8
iload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Item.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Z)V
astore 11
start local 11 10: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.moduleItems:Ljava/util/Map;
aload 9
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 11: goto 25
12: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.io.InputStream java.lang.String int java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath
StackMap stack:
aload 7
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.create:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 11
start local 11 13: aload 9
ifnull 16
14: aload 8
aload 9
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.create:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
aload 11
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.resolve:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.resolve:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 8
15: goto 17
16: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocPath
StackMap stack:
aload 8
aload 11
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.resolve:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 8
17: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 9
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.checkLinkCompatibility:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
18: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
dup
aload 0
aload 7
aload 8
iload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Item.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Z)V
astore 12
start local 12 19: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.packageItems:Ljava/util/Map;
20: aload 9
ifnonnull 21
ldc "<Unnamed>"
goto 22
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.io.InputStream java.lang.String int java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath jdk.javadoc.internal.doclets.toolkit.util.DocPath jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
StackMap stack: java.util.Map
21: aload 9
22: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.io.InputStream java.lang.String int java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath jdk.javadoc.internal.doclets.toolkit.util.DocPath jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
StackMap stack: java.util.Map java.lang.String
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;
jdk/javadoc/internal/doclets/toolkit/util/Extern.lambda$0(Ljava/lang/String;)Ljava/util/Map; (6)
(Ljava/lang/String;)Ljava/util/Map;
23: invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Map
24: aload 7
aload 12
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 end local 11 end local 8 end local 7 25: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.io.InputStream java.lang.String int java.lang.Throwable java.lang.Throwable java.io.BufferedReader top top java.lang.String jdk.javadoc.internal.doclets.toolkit.util.DocPath
StackMap stack:
aload 6
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 7
start local 7 26: ifnonnull 5
end local 10 end local 9 end local 7 27: aload 6
ifnull 33
aload 6
invokevirtual java.io.BufferedReader.close:()V
goto 33
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.io.InputStream java.lang.String int java.lang.Throwable java.lang.Throwable java.io.BufferedReader
StackMap stack: java.lang.Throwable
28: astore 4
aload 6
ifnull 29
aload 6
invokevirtual java.io.BufferedReader.close:()V
end local 6 StackMap locals:
StackMap stack:
29: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
30: astore 5
aload 4
ifnonnull 31
aload 5
astore 4
goto 32
StackMap locals:
StackMap stack:
31: aload 4
aload 5
if_acmpeq 32
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
32: aload 4
athrow
33: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 34 1 input Ljava/io/InputStream;
0 34 2 path Ljava/lang/String;
0 34 3 relative Z
2 29 6 in Ljava/io/BufferedReader;
5 25 7 elemname Ljava/lang/String;
26 27 7 elemname Ljava/lang/String;
7 25 8 elempath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
3 27 9 moduleName Ljava/lang/String;
4 27 10 basePath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
10 11 11 item Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
13 25 11 pkgPath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
19 25 12 item Ljdk/javadoc/internal/doclets/toolkit/util/Extern$Item;
Exception table:
from to target type
2 27 28 any
1 30 30 any
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault, java.io.IOException
MethodParameters:
Name Flags
input
path
relative
private void checkLinkCompatibility(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils.elementUtils:Ljavax/lang/model/util/Elements;
aload 1
invokeinterface javax.lang.model.util.Elements.getPackageElement:(Ljava/lang/CharSequence;)Ljavax/lang/model/element/PackageElement;
astore 4
start local 4 1: aload 4
ifnull 17
2: aload 4
invokeinterface javax.lang.model.element.PackageElement.getEnclosingElement:()Ljavax/lang/model/element/Element;
checkcast javax.lang.model.element.ModuleElement
astore 5
start local 5 3: aload 5
ifnull 4
aload 5
invokeinterface javax.lang.model.element.ModuleElement.isUnnamed:()Z
ifeq 10
4: StackMap locals: javax.lang.model.element.PackageElement javax.lang.model.element.ModuleElement
StackMap stack:
aload 2
ifnull 17
5: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.linkMismatch_PackagedLinkedtoModule"
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: aload 3
aastore
7: invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: aconst_null
9: invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
10: StackMap locals:
StackMap stack:
aload 2
ifnonnull 17
11: aload 0
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Extern.isAutomaticModule:(Ljavax/lang/model/element/ModuleElement;)Z
ifne 17
12: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.linkMismatch_ModuleLinkedtoPackage"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: aload 3
aastore
14: invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: aconst_null
16: invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 18 1 packageName Ljava/lang/String;
0 18 2 moduleName Ljava/lang/String;
0 18 3 path Ljava/lang/String;
1 18 4 pe Ljavax/lang/model/element/PackageElement;
3 17 5 me Ljavax/lang/model/element/ModuleElement;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
MethodParameters:
Name Flags
packageName
moduleName
path
private boolean isAutomaticModule(javax.lang.model.element.ModuleElement);
descriptor: (Ljavax/lang/model/element/ModuleElement;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.tools.javac.code.Symbol$ModuleSymbol
astore 2
start local 2 3: aload 2
invokevirtual com.sun.tools.javac.code.Symbol$ModuleSymbol.flags:()J
ldc 4503599627370496
land
lconst_0
lcmp
ifeq 4
iconst_1
ireturn
StackMap locals: com.sun.tools.javac.code.Symbol$ModuleSymbol
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 5 1 me Ljavax/lang/model/element/ModuleElement;
3 5 2 msym Lcom/sun/tools/javac/code/Symbol$ModuleSymbol;
MethodParameters:
Name Flags
me
public boolean isUrl(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: new java.net.URL
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 4 1 urlCandidate Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
MethodParameters:
Name Flags
urlCandidate
private java.net.URL toURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 2
start local 2 3: new jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
dup
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.MalformedURL"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Extern;Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 4 1 url Ljava/lang/String;
3 4 2 e Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault
MethodParameters:
Name Flags
url
private java.io.InputStream open(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
start local 2 1: iconst_0
istore 4
start local 4 2: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.net.URL java.net.URLConnection top int
StackMap stack:
aload 2
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 5
start local 5 3: iconst_0
istore 3
start local 3 4: aload 2
instanceof java.net.HttpURLConnection
ifeq 19
5: aload 2
checkcast java.net.HttpURLConnection
astore 6
start local 6 6: aload 6
invokevirtual java.net.HttpURLConnection.getResponseCode:()I
istore 7
start local 7 7: iload 7
tableswitch { // 300 - 308
300: 8
301: 8
302: 8
303: 8
304: 19
305: 19
306: 19
307: 8
308: 8
default: 19
}
8: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.net.URL java.net.URLConnection int int java.io.InputStream java.net.HttpURLConnection int
StackMap stack:
aload 6
invokevirtual java.net.HttpURLConnection.getURL:()Ljava/net/URL;
astore 8
start local 8 9: aload 6
ldc "Location"
invokevirtual java.net.HttpURLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 10: aconst_null
astore 10
start local 10 11: aload 9
ifnull 13
12: new java.net.URL
dup
aload 8
aload 9
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 10
13: StackMap locals: java.net.URL java.lang.String java.net.URL
StackMap stack:
aload 6
invokevirtual java.net.HttpURLConnection.disconnect:()V
14: aload 10
ifnull 15
iload 4
iconst_5
if_icmplt 16
15: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "illegal URL redirect"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iconst_1
istore 3
17: aload 10
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
18: iinc 4 1
end local 10 end local 9 end local 8 end local 7 end local 6 19: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Extern java.net.URL java.net.URLConnection int int java.io.InputStream
StackMap stack:
iload 3
ifne 2
20: aload 1
aload 2
invokevirtual java.net.URLConnection.getURL:()Ljava/net/URL;
invokevirtual java.net.URL.equals:(Ljava/lang/Object;)Z
ifne 24
21: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
invokevirtual jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.getReporter:()Ljdk/javadoc/doclet/Reporter;
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
22: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Extern.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.urlRedirected"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
invokevirtual java.net.URLConnection.getURL:()Ljava/net/URL;
aastore
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
23: invokeinterface jdk.javadoc.doclet.Reporter.print:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
aload 5
areturn
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 25 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Extern;
0 25 1 url Ljava/net/URL;
1 25 2 conn Ljava/net/URLConnection;
4 25 3 redir Z
2 25 4 redirects I
3 25 5 in Ljava/io/InputStream;
6 19 6 http Ljava/net/HttpURLConnection;
7 19 7 stat I
9 19 8 base Ljava/net/URL;
10 19 9 loc Ljava/lang/String;
11 19 10 target Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
private static java.util.Map lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 k Ljava/lang/String;
}
SourceFile: "Extern.java"
NestMembers:
jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault jdk.javadoc.internal.doclets.toolkit.util.Extern$Item
InnerClasses:
public ModuleSymbol = com.sun.tools.javac.code.Symbol$ModuleSymbol of com.sun.tools.javac.code.Symbol
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic
public final Location = javax.tools.DocumentationTool$Location of javax.tools.DocumentationTool
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager
private Fault = jdk.javadoc.internal.doclets.toolkit.util.Extern$Fault of jdk.javadoc.internal.doclets.toolkit.util.Extern
private Item = jdk.javadoc.internal.doclets.toolkit.util.Extern$Item of jdk.javadoc.internal.doclets.toolkit.util.Extern