public class com.sun.tools.internal.ws.util.WSDLFetcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.ws.util.WSDLFetcher
super_class: java.lang.Object
{
private com.sun.tools.internal.ws.wscompile.WsimportOptions options;
descriptor: Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.internal.ws.wscompile.WsimportListener listener;
descriptor: Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
flags: (0x0002) ACC_PRIVATE
private static java.lang.String WSDL_PATH;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String WSDL_FILE_EXTENSION;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String SCHEMA_FILE_EXTENSION;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "META-INF/wsdl"
putstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_PATH:Ljava/lang/String;
1: ldc ".wsdl"
putstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_FILE_EXTENSION:Ljava/lang/String;
2: ldc ".xsd"
putstatic com.sun.tools.internal.ws.util.WSDLFetcher.SCHEMA_FILE_EXTENSION:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.sun.tools.internal.ws.wscompile.WsimportOptions, com.sun.tools.internal.ws.wscompile.WsimportListener);
descriptor: (Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.internal.ws.util.WSDLFetcher.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
2: aload 0
aload 2
putfield com.sun.tools.internal.ws.util.WSDLFetcher.listener:Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
0 4 1 options Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
0 4 2 listener Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
MethodParameters:
Name Flags
options
listener
public java.lang.String fetchWsdls(com.sun.tools.internal.ws.wsdl.parser.MetadataFinder);
descriptor: (Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.getRootDocuments:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.lang.String 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
astore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.getExternalReferences:()Ljava/util/Set;
astore 3
start local 3 6: aload 0
aload 1
aload 0
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.getWSDLDownloadDir:()Ljava/io/File;
aload 2
aload 3
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.createDocumentMap:(Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;Ljava/io/File;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Map;
astore 4
start local 4 7: aload 0
aload 2
aload 1
aload 4
aload 0
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.getWSDLDownloadDir:()Ljava/io/File;
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.fetchFile:(Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map;Ljava/io/File;)Ljava/lang/String;
astore 5
start local 5 8: aload 1
invokevirtual com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.getExternalReferences:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.lang.String java.util.Set java.util.Map java.lang.String top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 10: aload 0
aload 6
aload 1
aload 4
aload 0
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.getWSDLDownloadDir:()Ljava/io/File;
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.fetchFile:(Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map;Ljava/io/File;)Ljava/lang/String;
pop
end local 6 11: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: new java.lang.StringBuilder
dup
getstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_PATH:Ljava/lang/String;
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;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 13 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
0 13 1 forest Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;
1 13 2 rootWsdl Ljava/lang/String;
3 4 3 root Ljava/lang/String;
6 13 3 externalRefs Ljava/util/Set<Ljava/lang/String;>;
7 13 4 documentMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
8 13 5 rootWsdlName Ljava/lang/String;
10 11 6 reference Ljava/lang/String;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
forest
private java.lang.String fetchFile(java.lang.String, com.sun.tools.internal.ws.wsdl.parser.DOMForest, java.util.Map<java.lang.String, java.lang.String>, java.io.File);
descriptor: (Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map;Ljava/io/File;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.createDocResolver:(Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map;)Lcom/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver;
astore 5
start local 5 1: new com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher
dup
new com.sun.tools.internal.ws.util.WSDLFetcher$1
dup
aload 0
invokespecial com.sun.tools.internal.ws.util.WSDLFetcher$1.<init>:(Lcom/sun/tools/internal/ws/util/WSDLFetcher;)V
2: aload 5
3: invokespecial com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher.<init>:(Lcom/sun/xml/internal/ws/api/server/PortAddressResolver;Lcom/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver;)V
astore 6
start local 6 4: aconst_null
astore 7
start local 7 5: aconst_null
astore 8
start local 8 6: aconst_null
astore 9
start local 9 7: aconst_null
astore 10
start local 10 8: new javax.xml.transform.dom.DOMSource
dup
aload 2
aload 1
invokevirtual com.sun.tools.internal.ws.wsdl.parser.DOMForest.get:(Ljava/lang/String;)Lorg/w3c/dom/Document;
invokespecial javax.xml.transform.dom.DOMSource.<init>:(Lorg/w3c/dom/Node;)V
iconst_0
invokestatic com.sun.xml.internal.ws.streaming.SourceReaderFactory.createSourceReader:(Ljavax/xml/transform/Source;Z)Ljavax/xml/stream/XMLStreamReader;
astore 7
9: invokestatic javax.xml.stream.XMLOutputFactory.newInstance:()Ljavax/xml/stream/XMLOutputFactory;
astore 11
start local 11 10: aload 5
aconst_null
aload 1
invokeinterface com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver.getLocationFor:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 10
11: new java.io.File
dup
aload 4
aload 10
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 12
start local 12 12: new java.io.FileOutputStream
dup
aload 12
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 9
13: aload 0
getfield com.sun.tools.internal.ws.util.WSDLFetcher.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 15
14: aload 0
getfield com.sun.tools.internal.ws.util.WSDLFetcher.listener:Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
aload 1
aload 12
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_DOCUMENT_DOWNLOAD:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportListener.message:(Ljava/lang/String;)V
15: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher java.lang.String com.sun.tools.internal.ws.wsdl.parser.DOMForest java.util.Map java.io.File com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamWriter java.io.OutputStream java.lang.String javax.xml.stream.XMLOutputFactory java.io.File
StackMap stack:
aload 11
aload 9
invokevirtual javax.xml.stream.XMLOutputFactory.createXMLStreamWriter:(Ljava/io/OutputStream;)Ljavax/xml/stream/XMLStreamWriter;
astore 8
16: new com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter
dup
aload 8
invokespecial com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter.<init>:(Ljavax/xml/stream/XMLStreamWriter;)V
astore 13
start local 13 17: aload 6
aload 7
aload 13
invokevirtual com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher.bridge:(Ljavax/xml/stream/XMLStreamReader;Ljavax/xml/stream/XMLStreamWriter;)V
18: aload 0
getfield com.sun.tools.internal.ws.util.WSDLFetcher.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 12
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.addGeneratedFile:(Ljava/io/File;)V
end local 13 end local 12 end local 11 19: goto 29
StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher java.lang.String com.sun.tools.internal.ws.wsdl.parser.DOMForest java.util.Map java.io.File com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamWriter java.io.OutputStream java.lang.String
StackMap stack: java.lang.Throwable
20: astore 14
21: aload 7
ifnull 22
aload 7
invokeinterface javax.xml.stream.XMLStreamReader.close:()V
22: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher java.lang.String com.sun.tools.internal.ws.wsdl.parser.DOMForest java.util.Map java.io.File com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamWriter java.io.OutputStream java.lang.String top top top java.lang.Throwable
StackMap stack:
aload 8
ifnull 27
aload 8
invokeinterface javax.xml.stream.XMLStreamWriter.close:()V
23: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 15
25: aload 9
ifnull 26
aload 9
invokevirtual java.io.OutputStream.close:()V
26: StackMap locals: java.lang.Throwable
StackMap stack:
aload 15
athrow
27: StackMap locals:
StackMap stack:
aload 9
ifnull 28
aload 9
invokevirtual java.io.OutputStream.close:()V
28: StackMap locals:
StackMap stack:
aload 14
athrow
29: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher java.lang.String com.sun.tools.internal.ws.wsdl.parser.DOMForest java.util.Map java.io.File com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamWriter java.io.OutputStream java.lang.String
StackMap stack:
aload 7
ifnull 30
aload 7
invokeinterface javax.xml.stream.XMLStreamReader.close:()V
30: StackMap locals:
StackMap stack:
aload 8
ifnull 35
aload 8
invokeinterface javax.xml.stream.XMLStreamWriter.close:()V
31: goto 35
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 15
33: aload 9
ifnull 34
aload 9
invokevirtual java.io.OutputStream.close:()V
34: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher java.lang.String com.sun.tools.internal.ws.wsdl.parser.DOMForest java.util.Map java.io.File com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamWriter java.io.OutputStream java.lang.String top top top top java.lang.Throwable
StackMap stack:
aload 15
athrow
35: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher java.lang.String com.sun.tools.internal.ws.wsdl.parser.DOMForest java.util.Map java.io.File com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver com.sun.xml.internal.ws.wsdl.writer.WSDLPatcher javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamWriter java.io.OutputStream java.lang.String
StackMap stack:
aload 9
ifnull 36
aload 9
invokevirtual java.io.OutputStream.close:()V
36: StackMap locals:
StackMap stack:
aload 10
areturn
end local 10 end local 9 end local 8 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 37 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
0 37 1 doc Ljava/lang/String;
0 37 2 forest Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;
0 37 3 documentMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 37 4 destDir Ljava/io/File;
1 37 5 docLocator Lcom/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver;
4 37 6 wsdlPatcher Lcom/sun/xml/internal/ws/wsdl/writer/WSDLPatcher;
5 37 7 xsr Ljavax/xml/stream/XMLStreamReader;
6 37 8 xsw Ljavax/xml/stream/XMLStreamWriter;
7 37 9 os Ljava/io/OutputStream;
8 37 10 resolvedRootWsdl Ljava/lang/String;
10 19 11 writerfactory Ljavax/xml/stream/XMLOutputFactory;
12 19 12 outFile Ljava/io/File;
17 19 13 indentingWriter Lcom/sun/xml/internal/txw2/output/IndentingXMLStreamWriter;
Exception table:
from to target type
8 20 20 any
21 24 24 any
29 32 32 any
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
Signature: (Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/io/File;)Ljava/lang/String;
MethodParameters:
Name Flags
doc final
forest
documentMap final
destDir
private java.util.Map<java.lang.String, java.lang.String> createDocumentMap(com.sun.tools.internal.ws.wsdl.parser.MetadataFinder, java.io.File, java.lang.String, java.util.Set<java.lang.String>);
descriptor: (Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;Ljava/io/File;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=17, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 1: aload 3
astore 6
start local 6 2: aload 3
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 8
start local 8 3: iload 8
iflt 5
4: aload 3
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
5: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String top int
StackMap stack:
aload 6
getstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 16
6: aload 1
aload 3
invokevirtual com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.get:(Ljava/lang/String;)Lorg/w3c/dom/Document;
astore 9
start local 9 7: aload 9
getstatic com.sun.xml.internal.ws.wsdl.parser.WSDLConstants.QNAME_SERVICE:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
getstatic com.sun.xml.internal.ws.wsdl.parser.WSDLConstants.QNAME_SERVICE:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.getElementsByTagNameNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
astore 10
start local 10 8: aload 10
invokeinterface org.w3c.dom.NodeList.getLength:()I
ifne 11
9: ldc "Service"
astore 7
start local 7 10: goto 14
end local 7 11: StackMap locals: org.w3c.dom.Document org.w3c.dom.NodeList
StackMap stack:
aload 10
iconst_0
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 11
start local 11 12: aload 11
checkcast org.w3c.dom.Element
ldc "name"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 13: aload 12
astore 7
end local 12 end local 11 start local 7 14: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String java.lang.String int org.w3c.dom.Document org.w3c.dom.NodeList
StackMap stack:
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
end local 10 end local 9 15: goto 17
end local 7 16: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String top int
StackMap stack:
aload 6
iconst_0
aload 6
invokevirtual java.lang.String.length:()I
iconst_5
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 17: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String java.lang.String int
StackMap stack:
aload 5
aload 3
aload 0
aload 6
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.sanitize:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: iconst_1
istore 9
start local 9 19: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 38
StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String java.lang.String int int top java.util.Iterator
StackMap stack:
20: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 21: aload 1
aload 10
invokevirtual com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.get:(Ljava/lang/String;)Lorg/w3c/dom/Document;
astore 12
start local 12 22: aload 12
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 13
start local 13 23: aconst_null
astore 15
start local 15 24: aload 10
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 16
start local 16 25: iload 16
iflt 27
26: aload 10
iload 16
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 15
27: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String java.lang.String int int java.lang.String java.util.Iterator org.w3c.dom.Document org.w3c.dom.Element top java.lang.String int
StackMap stack:
aload 13
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
getstatic com.sun.xml.internal.ws.wsdl.parser.WSDLConstants.QNAME_DEFINITIONS:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
aload 13
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ldc "http://schemas.xmlsoap.org/wsdl/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
28: getstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_FILE_EXTENSION:Ljava/lang/String;
astore 14
start local 14 29: goto 34
end local 14 StackMap locals:
StackMap stack:
30: aload 13
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
getstatic com.sun.xml.internal.ws.wsdl.parser.WSDLConstants.QNAME_SCHEMA:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
aload 13
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ldc "http://www.w3.org/2001/XMLSchema"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
31: getstatic com.sun.tools.internal.ws.util.WSDLFetcher.SCHEMA_FILE_EXTENSION:Ljava/lang/String;
astore 14
start local 14 32: goto 34
end local 14 33: StackMap locals:
StackMap stack:
ldc ".xml"
astore 14
start local 14 34: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String java.lang.String int int java.lang.String java.util.Iterator org.w3c.dom.Document org.w3c.dom.Element java.lang.String java.lang.String int
StackMap stack:
aload 15
ifnull 37
aload 15
getstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 35
aload 15
getstatic com.sun.tools.internal.ws.util.WSDLFetcher.SCHEMA_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 37
35: StackMap locals:
StackMap stack:
aload 5
aload 10
new java.lang.StringBuilder
dup
aload 7
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;
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: goto 38
37: StackMap locals:
StackMap stack:
aload 5
aload 10
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_metadata"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 9
iinc 9 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 end local 15 end local 14 end local 13 end local 12 end local 10 38: StackMap locals: com.sun.tools.internal.ws.util.WSDLFetcher com.sun.tools.internal.ws.wsdl.parser.MetadataFinder java.io.File java.lang.String java.util.Set java.util.Map java.lang.String java.lang.String int int top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
39: aload 5
areturn
end local 9 end local 8 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 40 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
0 40 1 forest Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;
0 40 2 baseDir Ljava/io/File;
0 40 3 rootWsdl Ljava/lang/String;
0 40 4 externalReferences Ljava/util/Set<Ljava/lang/String;>;
1 40 5 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 40 6 rootWsdlFileName Ljava/lang/String;
10 11 7 rootWsdlName Ljava/lang/String;
14 16 7 rootWsdlName Ljava/lang/String;
17 40 7 rootWsdlName Ljava/lang/String;
3 40 8 slashIndex I
7 15 9 rootWsdlDoc Lorg/w3c/dom/Document;
8 15 10 serviceNodes Lorg/w3c/dom/NodeList;
12 14 11 serviceNode Lorg/w3c/dom/Node;
13 14 12 serviceName Ljava/lang/String;
19 40 9 i I
21 38 10 ref Ljava/lang/String;
22 38 12 refDoc Lorg/w3c/dom/Document;
23 38 13 rootEl Lorg/w3c/dom/Element;
29 30 14 fileExtn Ljava/lang/String;
32 33 14 fileExtn Ljava/lang/String;
34 38 14 fileExtn Ljava/lang/String;
24 38 15 fileName Ljava/lang/String;
25 38 16 index I
Signature: (Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;Ljava/io/File;Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
forest
baseDir
rootWsdl final
externalReferences
private com.sun.xml.internal.ws.wsdl.writer.DocumentLocationResolver createDocResolver(java.lang.String, com.sun.tools.internal.ws.wsdl.parser.DOMForest, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map;)Lcom/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.tools.internal.ws.util.WSDLFetcher$2
dup
aload 0
aload 1
aload 3
aload 2
invokespecial com.sun.tools.internal.ws.util.WSDLFetcher$2.<init>:(Lcom/sun/tools/internal/ws/util/WSDLFetcher;Ljava/lang/String;Ljava/util/Map;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
0 1 1 baseWsdl Ljava/lang/String;
0 1 2 forest Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;
0 1 3 documentMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/String;Lcom/sun/tools/internal/ws/wsdl/parser/DOMForest;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lcom/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver;
MethodParameters:
Name Flags
baseWsdl final
forest final
documentMap final
private java.lang.String sanitize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
bipush 63
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
1: new java.lang.StringBuilder
dup
aload 1
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 14
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.StringBuilder.charAt:(I)C
istore 4
start local 4 5: iload 4
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 13
6: iload 4
bipush 47
if_icmpeq 13
7: iload 4
bipush 46
if_icmpeq 13
8: iload 4
bipush 95
if_icmpeq 13
9: iload 4
bipush 32
if_icmpeq 13
10: iload 4
bipush 45
if_icmpne 12
11: goto 13
12: StackMap locals: int
StackMap stack:
aload 2
iload 3
bipush 95
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
end local 4 13: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 2
invokevirtual java.lang.StringBuilder.length:()I
if_icmplt 4
end local 3 15: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
0 16 1 fileName Ljava/lang/String;
2 16 2 sb Ljava/lang/StringBuilder;
3 15 3 i I
5 13 4 c C
MethodParameters:
Name Flags
fileName
private java.io.File getWSDLDownloadDir();
descriptor: ()Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.io.File
dup
aload 0
getfield com.sun.tools.internal.ws.util.WSDLFetcher.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
getstatic com.sun.tools.internal.ws.util.WSDLFetcher.WSDL_PATH:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual java.io.File.mkdirs:()Z
istore 2
start local 2 2: aload 0
getfield com.sun.tools.internal.ws.util.WSDLFetcher.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 4
iload 2
ifne 4
3: aload 0
getfield com.sun.tools.internal.ws.util.WSDLFetcher.listener:Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
aload 1
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSCOMPILE_NO_SUCH_DIRECTORY:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportListener.message:(Ljava/lang/String;)V
4: StackMap locals: java.io.File int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/ws/util/WSDLFetcher;
1 5 1 wsdlDir Ljava/io/File;
2 5 2 created Z
}
SourceFile: "WSDLFetcher.java"
NestMembers:
com.sun.tools.internal.ws.util.WSDLFetcher$1 com.sun.tools.internal.ws.util.WSDLFetcher$2
InnerClasses:
com.sun.tools.internal.ws.util.WSDLFetcher$1
com.sun.tools.internal.ws.util.WSDLFetcher$2