public class com.sun.tools.internal.ws.wscompile.WsimportTool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.ws.wscompile.WsimportTool
super_class: java.lang.Object
{
private static final java.lang.String JAXWS_MODULE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.xml.ws"
private static final java.lang.String WSIMPORT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "wsimport"
private final java.io.PrintStream out;
descriptor: Ljava/io/PrintStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.xml.internal.ws.api.server.Container container;
descriptor: Lcom/sun/xml/internal/ws/api/server/Container;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected com.sun.tools.internal.ws.wscompile.WsimportOptions options;
descriptor: Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial com.sun.tools.internal.ws.wscompile.WsimportTool.<init>:(Ljava/io/OutputStream;Lcom/sun/xml/internal/ws/api/server/Container;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 2 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public void <init>(java.io.OutputStream, com.sun.xml.internal.ws.api.server.Container);
descriptor: (Ljava/io/OutputStream;Lcom/sun/xml/internal/ws/api/server/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
new com.sun.tools.internal.ws.wscompile.WsimportOptions
dup
invokespecial com.sun.tools.internal.ws.wscompile.WsimportOptions.<init>:()V
putfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
2: aload 0
aload 1
instanceof java.io.PrintStream
ifeq 3
aload 1
checkcast java.io.PrintStream
goto 4
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.io.OutputStream com.sun.xml.internal.ws.api.server.Container
StackMap stack: com.sun.tools.internal.ws.wscompile.WsimportTool
3: new java.io.PrintStream
dup
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.io.OutputStream com.sun.xml.internal.ws.api.server.Container
StackMap stack: com.sun.tools.internal.ws.wscompile.WsimportTool java.io.PrintStream
4: putfield com.sun.tools.internal.ws.wscompile.WsimportTool.out:Ljava/io/PrintStream;
5: aload 0
aload 2
putfield com.sun.tools.internal.ws.wscompile.WsimportTool.container:Lcom/sun/xml/internal/ws/api/server/Container;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 7 1 logStream Ljava/io/OutputStream;
0 7 2 container Lcom/sun/xml/internal/ws/api/server/Container;
MethodParameters:
Name Flags
logStream
container
public boolean run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.tools.internal.ws.wscompile.WsimportTool$Listener
dup
aload 0
invokespecial com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool;)V
astore 2
start local 2 1: new com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
dup
aload 0
aload 2
invokespecial com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;)V
astore 3
start local 3 2: aload 0
aload 1
aload 2
aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.run:([Ljava/lang/String;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 3 1 args [Ljava/lang/String;
1 3 2 listener Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;
2 3 3 receiver Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;
MethodParameters:
Name Flags
args
protected boolean run(java.lang.String[], com.sun.tools.internal.ws.wscompile.WsimportTool$Listener, com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver);
descriptor: ([Ljava/lang/String;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver top int int java.lang.String[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: aload 4
ldc "-version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
3: aload 2
4: getstatic com.sun.tools.internal.ws.ToolVersion.VERSION:Lcom/sun/xml/internal/ws/util/Version;
getfield com.sun.xml.internal.ws.util.Version.MAJOR_VERSION:Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_VERSION:(Ljava/lang/Object;)Ljava/lang/String;
5: invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
6: iconst_1
ireturn
7: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver java.lang.String int int java.lang.String[]
StackMap stack:
aload 4
ldc "-fullversion"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
8: aload 2
9: getstatic com.sun.tools.internal.ws.ToolVersion.VERSION:Lcom/sun/xml/internal/ws/util/Version;
invokevirtual com.sun.xml.internal.ws.util.Version.toString:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_FULLVERSION:(Ljava/lang/Object;)Ljava/lang/String;
10: invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
11: iconst_1
ireturn
end local 4 12: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 1
14: aload 0
aload 1
aload 2
aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.parseArguments:([Ljava/lang/String;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)V
15: aload 0
aload 2
aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.buildWsdlModel:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)Lcom/sun/tools/internal/ws/processor/model/Model;
astore 4
start local 4 16: aload 4
ifnonnull 21
17: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
18: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 20
19: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
20: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model
StackMap stack:
iconst_0
ireturn
21: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 4
iconst_1
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.generateCode:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;Lcom/sun/tools/internal/ws/processor/model/Model;Z)Z
ifne 38
22: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
23: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 25
24: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 26: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
StackMap stack: java.io.IOException
astore 4
start local 4 27: aload 3
aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.error:(Ljava/lang/Exception;)V
28: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
29: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 31
30: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
31: StackMap locals: java.io.IOException
StackMap stack:
iconst_0
ireturn
end local 4 32: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
StackMap stack: javax.xml.stream.XMLStreamException
astore 4
start local 4 33: aload 3
aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.error:(Ljava/lang/Exception;)V
34: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
35: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 37
36: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
37: StackMap locals: javax.xml.stream.XMLStreamException
StackMap stack:
iconst_0
ireturn
end local 4 38: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.nocompile:Z
ifne 45
39: aload 0
aload 3
aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.compileGeneratedClasses:(Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)Z
ifne 45
40: aload 2
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSCOMPILE_COMPILATION_FAILED:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
41: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
42: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 44
43: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
44: StackMap locals:
StackMap stack:
iconst_0
ireturn
45: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.clientjar:Ljava/lang/String;
ifnull 74
46: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.addClassesToGeneratedFiles:()V
47: aload 0
aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.jarArtifacts:(Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)V
48: goto 74
StackMap locals:
StackMap stack: java.io.IOException
49: astore 4
start local 4 50: aload 3
aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.error:(Ljava/lang/Exception;)V
51: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
52: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 54
53: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
54: StackMap locals: java.io.IOException
StackMap stack:
iconst_0
ireturn
end local 4 55: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
StackMap stack: com.sun.tools.internal.ws.wscompile.Options$WeAreDone
astore 4
start local 4 56: aload 0
aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.Options$WeAreDone.getOptions:()Lcom/sun/tools/internal/ws/wscompile/Options;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.usage:(Lcom/sun/tools/internal/ws/wscompile/Options;)V
end local 4 57: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
58: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 77
59: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
goto 77
60: StackMap locals:
StackMap stack: com.sun.tools.internal.ws.wscompile.BadCommandLineException
astore 4
start local 4 61: aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.BadCommandLineException.getMessage:()Ljava/lang/String;
ifnull 64
62: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.BadCommandLineException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
63: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
64: StackMap locals: com.sun.tools.internal.ws.wscompile.BadCommandLineException
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.tools.internal.ws.wscompile.BadCommandLineException.getOptions:()Lcom/sun/tools/internal/ws/wscompile/Options;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.usage:(Lcom/sun/tools/internal/ws/wscompile/Options;)V
65: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
66: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 68
67: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
68: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 69: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
StackMap stack: java.lang.Throwable
astore 5
70: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
71: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 73
72: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
73: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver top java.lang.Throwable
StackMap stack:
aload 5
athrow
74: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.String[] com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
StackMap stack:
aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.deleteGeneratedFiles:()V
75: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 77
76: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
77: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.hadError:()Z
ifeq 79
78: iconst_0
ireturn
79: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 80 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 80 1 args [Ljava/lang/String;
0 80 2 listener Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;
0 80 3 receiver Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;
2 12 4 arg Ljava/lang/String;
16 26 4 wsdlModel Lcom/sun/tools/internal/ws/processor/model/Model;
27 32 4 e Ljava/io/IOException;
33 38 4 e Ljavax/xml/stream/XMLStreamException;
50 55 4 e Ljava/io/IOException;
56 57 4 done Lcom/sun/tools/internal/ws/wscompile/Options$WeAreDone;
61 69 4 e Lcom/sun/tools/internal/ws/wscompile/BadCommandLineException;
Exception table:
from to target type
15 17 26 Class java.io.IOException
21 22 26 Class java.io.IOException
15 17 32 Class javax.xml.stream.XMLStreamException
21 22 32 Class javax.xml.stream.XMLStreamException
45 48 49 Class java.io.IOException
14 17 55 Class com.sun.tools.internal.ws.wscompile.Options$WeAreDone
21 22 55 Class com.sun.tools.internal.ws.wscompile.Options$WeAreDone
26 28 55 Class com.sun.tools.internal.ws.wscompile.Options$WeAreDone
32 34 55 Class com.sun.tools.internal.ws.wscompile.Options$WeAreDone
38 41 55 Class com.sun.tools.internal.ws.wscompile.Options$WeAreDone
45 51 55 Class com.sun.tools.internal.ws.wscompile.Options$WeAreDone
14 17 60 Class com.sun.tools.internal.ws.wscompile.BadCommandLineException
21 22 60 Class com.sun.tools.internal.ws.wscompile.BadCommandLineException
26 28 60 Class com.sun.tools.internal.ws.wscompile.BadCommandLineException
32 34 60 Class com.sun.tools.internal.ws.wscompile.BadCommandLineException
38 41 60 Class com.sun.tools.internal.ws.wscompile.BadCommandLineException
45 51 60 Class com.sun.tools.internal.ws.wscompile.BadCommandLineException
14 17 69 any
21 22 69 any
26 28 69 any
32 34 69 any
38 41 69 any
45 51 69 any
55 57 69 any
60 65 69 any
MethodParameters:
Name Flags
args
listener
receiver
private void deleteGeneratedFiles();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.clientjar:Ljava/lang/String;
ifnull 26
2: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getGeneratedFiles:()Ljava/lang/Iterable;
astore 2
start local 2 3: aload 2
dup
astore 3
monitorenter
4: aload 2
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable java.lang.Iterable top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 4
start local 4 6: aload 4
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 11
7: aload 4
invokevirtual java.io.File.delete:()Z
istore 6
start local 6 8: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 10
iload 6
ifne 10
9: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "{0} could not be deleted."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable java.lang.Iterable java.io.File java.util.Iterator int
StackMap stack:
aload 1
aload 4
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 11: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable java.lang.Iterable top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: aload 3
monitorexit
13: goto 16
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable java.lang.Iterable
StackMap stack: java.lang.Throwable
14: aload 3
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable top java.util.Iterator
StackMap stack:
17: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 3
start local 3 18: goto 24
19: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable java.io.File java.util.Iterator
StackMap stack:
aload 3
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 5
start local 5 20: aload 3
invokevirtual java.io.File.delete:()Z
istore 6
start local 6 21: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 23
iload 6
ifne 23
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "{0} could not be deleted."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: StackMap locals: java.io.File int
StackMap stack:
aload 5
astore 3
end local 6 end local 5 24: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.File.list:()[Ljava/lang/String;
ifnull 25
aload 3
invokevirtual java.io.File.list:()[Ljava/lang/String;
arraylength
ifne 25
aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 19
end local 3 25: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set java.lang.Iterable top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 2 26: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.util.Set
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.keep:Z
ifne 28
27: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.removeGeneratedFiles:()V
28: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
1 29 1 trackedRootPackages Ljava/util/Set<Ljava/io/File;>;
3 26 2 generatedFiles Ljava/lang/Iterable<Ljava/io/File;>;
6 11 4 file Ljava/io/File;
8 11 6 deleted Z
18 25 3 pkg Ljava/io/File;
20 24 5 parentPkg Ljava/io/File;
21 24 6 deleted Z
Exception table:
from to target type
4 13 14 any
14 15 14 any
private void addClassesToGeneratedFiles();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getGeneratedFiles:()Ljava/lang/Iterable;
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 3
start local 3 4: aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
5: aload 3
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.sourceDir:Ljava/io/File;
invokestatic com.sun.tools.internal.ws.processor.util.DirectoryUtil.getRelativePathfromCommonBase:(Ljava/io/File;Ljava/io/File;)Ljava/lang/String;
astore 5
start local 5 6: aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
iconst_0
aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".java"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 7: new java.io.File
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 7
start local 7 8: aload 7
invokevirtual java.io.File.exists:()Z
ifeq 10
9: aload 7
new com.sun.tools.internal.ws.wscompile.WsimportTool$1
dup
aload 0
aload 6
aload 2
invokespecial com.sun.tools.internal.ws.wscompile.WsimportTool$1.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool;Ljava/lang/String;Ljava/util/List;)V
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
pop
end local 7 end local 6 end local 5 end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals:
StackMap stack:
12: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 3
start local 3 13: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.addGeneratedFile:(Ljava/io/File;)V
end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
1 16 1 generatedFiles Ljava/lang/Iterable<Ljava/io/File;>;
2 16 2 trackedClassFiles Ljava/util/List<Ljava/io/File;>;
4 10 3 f Ljava/io/File;
6 10 5 relativeDir Ljava/lang/String;
7 10 6 className Ljava/lang/String;
8 10 7 classDir Ljava/io/File;
13 14 3 f Ljava/io/File;
Exceptions:
throws java.io.IOException
private void jarArtifacts(com.sun.tools.internal.ws.wscompile.WsimportListener);
descriptor: (Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=16, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.clientjar:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.isAbsolute:()Z
ifne 3
2: new java.io.File
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.clientjar:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 2
3: StackMap locals: java.io.File
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.quiet:Z
ifne 5
4: aload 1
aload 2
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_ARCHIVING_ARTIFACTS:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportListener.message:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: new java.io.FileOutputStream
dup
aload 2
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 3
start local 3 8: new java.util.jar.JarOutputStream
dup
aload 3
invokespecial java.util.jar.JarOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 9: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 7
start local 7 10: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getGeneratedFiles:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 9
goto 26
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream java.lang.String top java.util.Iterator
StackMap stack:
11: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 8
start local 8 12: aload 8
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 14
13: goto 26
14: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream java.lang.String java.io.File java.util.Iterator
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 16
15: aload 1
aload 8
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.clientjar:Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_ARCHIVE_ARTIFACT:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportListener.message:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
aload 7
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
getstatic java.io.File.separatorChar:C
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 10
start local 10 17: new java.io.FileInputStream
dup
aload 8
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 5
18: new java.io.BufferedInputStream
dup
aload 5
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 4
19: new java.util.jar.JarEntry
dup
aload 10
invokespecial java.util.jar.JarEntry.<init>:(Ljava/lang/String;)V
astore 11
start local 11 20: aload 6
aload 11
invokevirtual java.util.jar.JarOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
21: sipush 1024
newarray 8
astore 13
start local 13 22: goto 24
start local 12 23: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream java.lang.String java.io.File java.util.Iterator java.lang.String java.util.jar.JarEntry int byte[]
StackMap stack:
aload 6
aload 13
iconst_0
iload 12
invokevirtual java.util.jar.JarOutputStream.write:([BII)V
end local 12 24: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream java.lang.String java.io.File java.util.Iterator java.lang.String java.util.jar.JarEntry top byte[]
StackMap stack:
aload 4
aload 13
invokevirtual java.io.BufferedInputStream.read:([B)I
dup
istore 12
start local 12 25: iconst_m1
if_icmpne 23
end local 13 end local 12 end local 11 end local 10 end local 8 26: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream java.lang.String top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 7 27: goto 43
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream
StackMap stack: java.lang.Throwable
28: astore 14
29: aload 4
ifnull 38
30: aload 4
invokevirtual java.io.BufferedInputStream.close:()V
31: goto 38
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream top top top top top top top java.lang.Throwable
StackMap stack: java.lang.Throwable
32: astore 15
33: aload 6
ifnull 35
34: aload 6
invokevirtual java.util.jar.JarOutputStream.close:()V
35: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
ifnull 37
36: aload 5
invokevirtual java.io.FileInputStream.close:()V
37: StackMap locals:
StackMap stack:
aload 15
athrow
38: StackMap locals:
StackMap stack:
aload 6
ifnull 40
39: aload 6
invokevirtual java.util.jar.JarOutputStream.close:()V
40: StackMap locals:
StackMap stack:
aload 5
ifnull 42
41: aload 5
invokevirtual java.io.FileInputStream.close:()V
42: StackMap locals:
StackMap stack:
aload 14
athrow
43: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream
StackMap stack:
aload 4
ifnull 52
44: aload 4
invokevirtual java.io.BufferedInputStream.close:()V
45: goto 52
StackMap locals:
StackMap stack: java.lang.Throwable
46: astore 15
47: aload 6
ifnull 49
48: aload 6
invokevirtual java.util.jar.JarOutputStream.close:()V
49: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream top top top top top top top top java.lang.Throwable
StackMap stack:
aload 5
ifnull 51
50: aload 5
invokevirtual java.io.FileInputStream.close:()V
51: StackMap locals:
StackMap stack:
aload 15
athrow
52: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportListener java.io.File java.io.FileOutputStream java.io.BufferedInputStream java.io.FileInputStream java.util.jar.JarOutputStream
StackMap stack:
aload 6
ifnull 54
53: aload 6
invokevirtual java.util.jar.JarOutputStream.close:()V
54: StackMap locals:
StackMap stack:
aload 5
ifnull 56
55: aload 5
invokevirtual java.io.FileInputStream.close:()V
56: StackMap locals:
StackMap stack:
return
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 57 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 57 1 listener Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
1 57 2 zipFile Ljava/io/File;
8 57 3 fos Ljava/io/FileOutputStream;
6 57 4 bis Ljava/io/BufferedInputStream;
7 57 5 fi Ljava/io/FileInputStream;
9 57 6 jos Ljava/util/jar/JarOutputStream;
10 27 7 base Ljava/lang/String;
12 26 8 f Ljava/io/File;
17 26 10 entry Ljava/lang/String;
20 26 11 jarEntry Ljava/util/jar/JarEntry;
23 24 12 bytesRead I
25 26 12 bytesRead I
22 26 13 buffer [B
Exception table:
from to target type
9 28 28 any
29 32 32 any
43 46 46 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
listener
protected void parseArguments(java.lang.String[], com.sun.tools.internal.ws.wscompile.WsimportTool$Listener, com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver);
descriptor: ([Ljava/lang/String;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 1
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.parseArguments:([Ljava/lang/String;)V
1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.validate:()V
2: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.debugMode:Z
ifeq 4
3: aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.enableDebugging:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.parseBindings:(Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
5: return
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/internal/ws/wscompile/WsimportTool;
0 6 1 args [Ljava/lang/String;
0 6 2 listener Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;
0 6 3 receiver Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException
MethodParameters:
Name Flags
args
listener
receiver
protected com.sun.tools.internal.ws.processor.model.Model buildWsdlModel(com.sun.tools.internal.ws.wscompile.WsimportTool$Listener, com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver);
descriptor: (Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)Lcom/sun/tools/internal/ws/processor/model/Model;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.disableAuthenticator:Z
ifne 8
1: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.getAuthenticator:()Lcom/sun/istack/internal/tools/DefaultAuthenticator;
astore 3
start local 3 2: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.proxyAuth:Ljava/lang/String;
ifnull 4
3: aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.proxyAuth:Ljava/lang/String;
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator.setProxyAuth:(Ljava/lang/String;)V
4: StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.authFile:Ljava/io/File;
ifnull 7
5: aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.authFile:Ljava/io/File;
new com.sun.tools.internal.ws.wscompile.WsimportTool$1AuthListener
dup
aload 0
iconst_1
aload 2
invokespecial com.sun.tools.internal.ws.wscompile.WsimportTool$1AuthListener.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool;ZLcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)V
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator.setAuth:(Ljava/io/File;Lcom/sun/istack/internal/tools/DefaultAuthenticator$Receiver;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 3
new java.io.File
dup
getstatic com.sun.tools.internal.ws.wscompile.WsimportOptions.defaultAuthfile:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
new com.sun.tools.internal.ws.wscompile.WsimportTool$1AuthListener
dup
aload 0
iconst_0
aload 2
invokespecial com.sun.tools.internal.ws.wscompile.WsimportTool$1AuthListener.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportTool;ZLcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;)V
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator.setAuth:(Ljava/io/File;Lcom/sun/istack/internal/tools/DefaultAuthenticator$Receiver;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.quiet:Z
ifne 10
9: aload 1
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_PARSING_WSDL:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wsdl.parser.MetadataFinder
dup
new com.sun.tools.internal.ws.wsdl.parser.WSDLInternalizationLogic
dup
invokespecial com.sun.tools.internal.ws.wsdl.parser.WSDLInternalizationLogic.<init>:()V
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokespecial com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.<init>:(Lcom/sun/tools/internal/ws/wsdl/parser/InternalizationLogic;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
astore 3
start local 3 11: aload 3
invokevirtual com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.parseWSDL:()V
12: aload 3
getfield com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.isMexMetadata:Z
ifeq 14
13: aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.reset:()V
14: StackMap locals: com.sun.tools.internal.ws.wsdl.parser.MetadataFinder
StackMap stack:
new com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
aload 3
invokespecial com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;)V
astore 4
start local 4 15: aload 4
invokevirtual com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildModel:()Lcom/sun/tools/internal/ws/processor/model/Model;
astore 5
start local 5 16: aload 5
ifnonnull 18
17: aload 1
invokestatic com.sun.tools.internal.ws.resources.WsdlMessages.PARSING_PARSE_FAILED:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
18: StackMap locals: com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler com.sun.tools.internal.ws.processor.model.Model
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.clientjar:Ljava/lang/String;
ifnull 22
19: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.quiet:Z
ifne 21
20: aload 1
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_FETCHING_METADATA:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
new com.sun.tools.internal.ws.util.WSDLFetcher
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 1
invokespecial com.sun.tools.internal.ws.util.WSDLFetcher.<init>:(Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)V
aload 3
invokevirtual com.sun.tools.internal.ws.util.WSDLFetcher.fetchWsdls:(Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;)Ljava/lang/String;
putfield com.sun.tools.internal.ws.wscompile.WsimportOptions.wsdlLocation:Ljava/lang/String;
22: 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 23 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 23 1 listener Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;
0 23 2 receiver Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;
2 8 3 da Lcom/sun/istack/internal/tools/DefaultAuthenticator;
11 23 3 forest Lcom/sun/tools/internal/ws/wsdl/parser/MetadataFinder;
15 23 4 wsdlModeler Lcom/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModeler;
16 23 5 wsdlModel Lcom/sun/tools/internal/ws/processor/model/Model;
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException, javax.xml.stream.XMLStreamException, java.io.IOException
MethodParameters:
Name Flags
listener
receiver final
protected boolean generateCode(com.sun.tools.internal.ws.wscompile.WsimportTool$Listener, com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver, com.sun.tools.internal.ws.processor.model.Model, boolean);
descriptor: (Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;Lcom/sun/tools/internal/ws/processor/model/Model;Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.quiet:Z
ifne 2
1: aload 1
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_GENERATING_CODE:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Listener.message:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
ldc Lcom/sun/tools/internal/ws/api/TJavaGeneratorExtension;
invokestatic com.sun.xml.internal.ws.util.ServiceFinder.find:(Ljava/lang/Class;)Lcom/sun/xml/internal/ws/util/ServiceFinder;
invokevirtual com.sun.xml.internal.ws.util.ServiceFinder.toArray:()[Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.api.TJavaGeneratorExtension[]
astore 5
start local 5 3: aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokestatic com.sun.tools.internal.ws.processor.generator.CustomExceptionGenerator.generate:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
4: aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
aload 5
invokestatic com.sun.tools.internal.ws.processor.generator.SeiGenerator.generate:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;[Lcom/sun/tools/internal/ws/api/TJavaGeneratorExtension;)V
5: aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver.hadError:()Z
ifeq 7
6: new com.sun.tools.internal.ws.wscompile.AbortException
dup
invokespecial com.sun.tools.internal.ws.wscompile.AbortException.<init>:()V
athrow
7: StackMap locals: com.sun.tools.internal.ws.api.TJavaGeneratorExtension[]
StackMap stack:
iload 4
ifeq 9
8: aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokestatic com.sun.tools.internal.ws.processor.generator.ServiceGenerator.generate:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
9: StackMap locals:
StackMap stack:
ldc Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
invokestatic com.sun.xml.internal.ws.util.ServiceFinder.find:(Ljava/lang/Class;)Lcom/sun/xml/internal/ws/util/ServiceFinder;
invokevirtual com.sun.xml.internal.ws.util.ServiceFinder.iterator:()Ljava/util/Iterator;
astore 7
goto 13
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model int com.sun.tools.internal.ws.api.TJavaGeneratorExtension[] top java.util.Iterator
StackMap stack:
10: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.generator.GeneratorBase
astore 6
start local 6 11: aload 6
aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorBase.init:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
12: aload 6
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorBase.doGeneration:()V
end local 6 13: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: aconst_null
astore 6
start local 6 15: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.isGenerateJWS:Z
ifeq 17
16: aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokestatic com.sun.tools.internal.ws.processor.generator.JwsImplGenerator.generate:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)Ljava/util/List;
astore 6
17: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model int com.sun.tools.internal.ws.api.TJavaGeneratorExtension[] java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.activePlugins:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 23
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model int com.sun.tools.internal.ws.api.TJavaGeneratorExtension[] java.util.List top java.util.Iterator
StackMap stack:
18: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.wscompile.Plugin
astore 7
start local 7 19: aload 7
aload 3
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.Plugin.run:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)Z
pop
20: goto 23
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model int com.sun.tools.internal.ws.api.TJavaGeneratorExtension[] java.util.List com.sun.tools.internal.ws.wscompile.Plugin java.util.Iterator
StackMap stack: org.xml.sax.SAXException
21: pop
22: iconst_0
ireturn
end local 7 23: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model int com.sun.tools.internal.ws.api.TJavaGeneratorExtension[] java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
24: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getModuleName:()Ljava/lang/String;
ifnull 26
25: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getModuleName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.xml.ws"
aastore
invokevirtual com.sun.codemodel.internal.JCodeModel._prepareModuleInfo:(Ljava/lang/String;[Ljava/lang/String;)V
26: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver com.sun.tools.internal.ws.processor.model.Model int com.sun.tools.internal.ws.api.TJavaGeneratorExtension[] java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.filer:Ljavax/annotation/processing/Filer;
ifnull 29
27: new com.sun.tools.internal.ws.wscompile.FilerCodeWriter
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokespecial com.sun.tools.internal.ws.wscompile.FilerCodeWriter.<init>:(Lcom/sun/tools/internal/ws/wscompile/Options;)V
astore 7
start local 7 28: goto 30
end local 7 29: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wscompile.WSCodeWriter
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.sourceDir:Ljava/io/File;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokespecial com.sun.tools.internal.ws.wscompile.WSCodeWriter.<init>:(Ljava/io/File;Lcom/sun/tools/internal/ws/wscompile/Options;)V
astore 7
start local 7 30: StackMap locals: com.sun.codemodel.internal.CodeWriter
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 32
31: new com.sun.codemodel.internal.writer.ProgressCodeWriter
dup
aload 7
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.out:Ljava/io/PrintStream;
invokespecial com.sun.codemodel.internal.writer.ProgressCodeWriter.<init>:(Lcom/sun/codemodel/internal/CodeWriter;Ljava/io/PrintStream;)V
astore 7
32: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
aload 7
invokevirtual com.sun.codemodel.internal.JCodeModel.build:(Lcom/sun/codemodel/internal/CodeWriter;)V
33: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.isGenerateJWS:Z
ifeq 35
34: aload 6
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 2
invokestatic com.sun.tools.internal.ws.processor.generator.JwsImplGenerator.moveToImplDestDir:(Ljava/util/List;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)Z
ireturn
35: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 36 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 36 1 listener Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Listener;
0 36 2 receiver Lcom/sun/tools/internal/ws/wscompile/WsimportTool$Receiver;
0 36 3 wsdlModel Lcom/sun/tools/internal/ws/processor/model/Model;
0 36 4 generateService Z
3 36 5 genExtn [Lcom/sun/tools/internal/ws/api/TJavaGeneratorExtension;
11 13 6 g Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
15 36 6 implFiles Ljava/util/List<Ljava/lang/String;>;
19 23 7 plugin Lcom/sun/tools/internal/ws/wscompile/Plugin;
28 29 7 cw Lcom/sun/codemodel/internal/CodeWriter;
30 36 7 cw Lcom/sun/codemodel/internal/CodeWriter;
Exception table:
from to target type
19 20 21 Class org.xml.sax.SAXException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
listener
receiver
wsdlModel
generateService
public void setEntityResolver(org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 1
putfield com.sun.tools.internal.ws.wscompile.WsimportOptions.entityResolver:Lorg/xml/sax/EntityResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 2 1 resolver Lorg/xml/sax/EntityResolver;
MethodParameters:
Name Flags
resolver
protected boolean compileGeneratedClasses(com.sun.tools.internal.ws.wscompile.ErrorReceiver, com.sun.tools.internal.ws.wscompile.WsimportListener);
descriptor: (Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getGeneratedFiles:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.ErrorReceiver com.sun.tools.internal.ws.wscompile.WsimportListener java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 4
start local 4 3: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 5
aload 4
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
4: aload 3
aload 4
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 3
invokeinterface java.util.List.size:()I
ifle 51
7: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 4
start local 4 8: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.createClasspathString:()Ljava/lang/String;
astore 5
start local 5 9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 10: aload 6
ldc "-d"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 6
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 6
ldc "-classpath"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 6
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.debug:Z
ifeq 16
15: aload 6
ldc "-g"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.ErrorReceiver com.sun.tools.internal.ws.wscompile.WsimportListener java.util.List java.lang.String java.lang.String java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.encoding:Ljava/lang/String;
ifnull 19
17: aload 6
ldc "-encoding"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 6
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.encoding:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: StackMap locals:
StackMap stack:
iconst_1
istore 7
start local 7 20: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.javacOptions:Ljava/util/List;
ifnull 34
21: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 6
aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getJavacOptions:(Ljava/util/List;Lcom/sun/tools/internal/ws/wscompile/WsimportListener;)Ljava/util/List;
astore 8
start local 8 22: iconst_0
istore 9
start local 9 23: goto 33
24: StackMap locals: int java.util.List int
StackMap stack:
aload 8
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 25: ldc "-source"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
ldc 9.0
aload 0
aload 8
iload 9
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.getVersion:(Ljava/lang/String;)F
fcmpl
iflt 27
26: iconst_0
istore 7
27: StackMap locals: java.lang.String
StackMap stack:
ldc "-target"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
ldc 9.0
aload 0
aload 8
iload 9
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.getVersion:(Ljava/lang/String;)F
fcmpl
iflt 29
28: iconst_0
istore 7
29: StackMap locals:
StackMap stack:
ldc "--release"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
ldc 9.0
aload 0
aload 8
iload 9
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportTool.getVersion:(Ljava/lang/String;)F
fcmpl
iflt 31
30: iconst_0
istore 7
31: StackMap locals:
StackMap stack:
aload 6
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 32: iinc 9 1
StackMap locals:
StackMap stack:
33: iload 9
aload 8
invokeinterface java.util.List.size:()I
if_icmplt 24
end local 9 end local 8 34: StackMap locals:
StackMap stack:
iload 7
ifeq 37
35: aload 6
ldc "--add-modules"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: aload 6
ldc "java.xml.ws"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
37: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 38: goto 41
39: StackMap locals: int
StackMap stack:
aload 6
aload 3
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
40: iinc 8 1
StackMap locals:
StackMap stack:
41: iload 8
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 39
end local 8 42: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.quiet:Z
ifne 43
aload 2
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_COMPILING_CODE:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportListener.message:(Ljava/lang/String;)V
43: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 50
44: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 8
start local 8 45: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 48
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.ErrorReceiver com.sun.tools.internal.ws.wscompile.WsimportListener java.util.List java.lang.String java.lang.String java.util.List int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
46: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 47: aload 8
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 9 48: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
49: aload 2
new java.lang.StringBuilder
dup
ldc "javac "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportListener.message:(Ljava/lang/String;)V
end local 8 50: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.ErrorReceiver com.sun.tools.internal.ws.wscompile.WsimportListener java.util.List java.lang.String java.lang.String java.util.List int
StackMap stack:
aload 6
aload 6
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.out:Ljava/io/PrintStream;
aload 1
invokestatic com.sun.tools.internal.ws.wscompile.JavaCompilerHelper.compile:([Ljava/lang/String;Ljava/io/OutputStream;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)Z
ireturn
end local 7 end local 6 end local 5 end local 4 51: StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool com.sun.tools.internal.ws.wscompile.ErrorReceiver com.sun.tools.internal.ws.wscompile.WsimportListener java.util.List
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 52 1 receiver Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
0 52 2 listener Lcom/sun/tools/internal/ws/wscompile/WsimportListener;
1 52 3 sourceFiles Ljava/util/List<Ljava/lang/String;>;
3 5 4 f Ljava/io/File;
8 51 4 classDir Ljava/lang/String;
9 51 5 classpathString Ljava/lang/String;
10 51 6 args Ljava/util/List<Ljava/lang/String;>;
20 51 7 addModules Z
22 34 8 javacOptions Ljava/util/List<Ljava/lang/String;>;
23 34 9 i I
25 32 10 opt Ljava/lang/String;
38 42 8 i I
45 50 8 argstr Ljava/lang/StringBuilder;
47 48 9 arg Ljava/lang/String;
MethodParameters:
Name Flags
receiver
listener
private java.lang.String createClasspathString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsimportTool.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.cmdlineJars:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.tools.internal.ws.wscompile.WsimportTool java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
1 7 1 classpathStr Ljava/lang/StringBuilder;
3 5 2 s Ljava/lang/String;
protected void usage(com.sun.tools.internal.ws.wscompile.Options);
descriptor: (Lcom/sun/tools/internal/ws/wscompile/Options;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "wsimport"
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_HELP:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_USAGE_EXTENSIONS:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSIMPORT_USAGE_EXAMPLES:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 4 1 options Lcom/sun/tools/internal/ws/wscompile/Options;
MethodParameters:
Name Flags
options
private float getVersion(java.lang.String);
descriptor: (Ljava/lang/String;)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/wscompile/WsimportTool;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "WsimportTool.java"
NestMembers:
com.sun.tools.internal.ws.wscompile.WsimportTool$1 com.sun.tools.internal.ws.wscompile.WsimportTool$1AuthListener com.sun.tools.internal.ws.wscompile.WsimportTool$Listener com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver
InnerClasses:
public abstract Receiver = com.sun.istack.internal.tools.DefaultAuthenticator$Receiver of com.sun.istack.internal.tools.DefaultAuthenticator
public final WeAreDone = com.sun.tools.internal.ws.wscompile.Options$WeAreDone of com.sun.tools.internal.ws.wscompile.Options
com.sun.tools.internal.ws.wscompile.WsimportTool$1
AuthListener = com.sun.tools.internal.ws.wscompile.WsimportTool$1AuthListener
protected Listener = com.sun.tools.internal.ws.wscompile.WsimportTool$Listener of com.sun.tools.internal.ws.wscompile.WsimportTool
protected Receiver = com.sun.tools.internal.ws.wscompile.WsimportTool$Receiver of com.sun.tools.internal.ws.wscompile.WsimportTool