public class com.sun.tools.internal.ws.wscompile.WsgenOptions extends com.sun.tools.internal.ws.wscompile.Options
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.ws.wscompile.WsgenOptions
super_class: com.sun.tools.internal.ws.wscompile.Options
{
public javax.xml.namespace.QName serviceName;
descriptor: Ljavax/xml/namespace/QName;
flags: (0x0001) ACC_PUBLIC
public javax.xml.namespace.QName portName;
descriptor: Ljavax/xml/namespace/QName;
flags: (0x0001) ACC_PUBLIC
public java.io.File nonclassDestDir;
descriptor: Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
public boolean genWsdl;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public boolean inlineSchemas;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public java.util.Set<java.lang.String> protocols;
descriptor: Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Set<Ljava/lang/String;>;
public java.util.Map<java.lang.String, java.lang.String> nonstdProtocols;
descriptor: Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.io.File wsgenReport;
descriptor: Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
public boolean doNotOverWrite;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public boolean protocolSet;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public java.util.List<java.lang.String> externalMetadataFiles;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Ljava/lang/String;>;
private static final java.lang.String SERVICENAME_OPTION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-servicename"
private static final java.lang.String PORTNAME_OPTION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-portname"
private static final java.lang.String HTTP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http"
private static final java.lang.String SOAP11;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "soap1.1"
public static final java.lang.String X_SOAP12;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Xsoap1.2"
java.util.List<java.lang.String> endpoints;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
public java.lang.Class endpoint;
descriptor: Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
private boolean isImplClass;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.internal.ws.wscompile.Options.<init>:()V
1: aload 0
ldc "soap1.1"
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
2: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocols:Ljava/util/Set;
3: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonstdProtocols:Ljava/util/Map;
4: aload 0
iconst_0
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocolSet:Z
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.externalMetadataFiles:Ljava/util/List;
6: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoints:Ljava/util/List;
7: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocols:Ljava/util/Set;
ldc "soap1.1"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocols:Ljava/util/Set;
ldc "Xsoap1.2"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonstdProtocols:Ljava/util/Map;
ldc "Xsoap1.2"
ldc "http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: ldc Lcom/sun/tools/internal/ws/api/WsgenExtension;
invokestatic com.sun.xml.internal.ws.util.ServiceFinder.find:(Ljava/lang/Class;)Lcom/sun/xml/internal/ws/util/ServiceFinder;
astore 1
start local 1 11: aload 1
invokevirtual com.sun.xml.internal.ws.util.ServiceFinder.iterator:()Ljava/util/Iterator;
astore 3
goto 17
StackMap locals: com.sun.tools.internal.ws.wscompile.WsgenOptions com.sun.xml.internal.ws.util.ServiceFinder top java.util.Iterator
StackMap stack:
12: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.api.WsgenExtension
astore 2
start local 2 13: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 14: aload 4
ldc Lcom/sun/tools/internal/ws/api/WsgenProtocol;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.sun.tools.internal.ws.api.WsgenProtocol
astore 5
start local 5 15: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocols:Ljava/util/Set;
aload 5
invokeinterface com.sun.tools.internal.ws.api.WsgenProtocol.token:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
16: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonstdProtocols:Ljava/util/Map;
aload 5
invokeinterface com.sun.tools.internal.ws.api.WsgenProtocol.token:()Ljava/lang/String;
aload 5
invokeinterface com.sun.tools.internal.ws.api.WsgenProtocol.lexical:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 2 17: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
11 19 1 extn Lcom/sun/xml/internal/ws/util/ServiceFinder<Lcom/sun/tools/internal/ws/api/WsgenExtension;>;
13 17 2 ext Lcom/sun/tools/internal/ws/api/WsgenExtension;
14 17 4 clazz Ljava/lang/Class;
15 17 5 pro Lcom/sun/tools/internal/ws/api/WsgenProtocol;
protected int parseArguments(java.lang.String[], int);
descriptor: ([Ljava/lang/String;I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial com.sun.tools.internal.ws.wscompile.Options.parseArguments:([Ljava/lang/String;I)I
istore 3
start local 3 1: aload 1
iload 2
aaload
ldc "-servicename"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
2: aload 0
aload 0
ldc "-servicename"
aload 1
iinc 2 1
iload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.requireArgument:(Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;
invokestatic javax.xml.namespace.QName.valueOf:(Ljava/lang/String;)Ljavax/xml/namespace/QName;
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.serviceName:Ljavax/xml/namespace/QName;
3: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.serviceName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
ifnull 4
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.serviceName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 5
4: StackMap locals: int
StackMap stack:
new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
iload 2
aaload
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_SERVICENAME_MISSING_NAMESPACE:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.serviceName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
ifnull 6
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.serviceName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 7
6: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
iload 2
aaload
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_SERVICENAME_MISSING_LOCALNAME:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iconst_2
ireturn
8: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-portname"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
9: aload 0
aload 0
ldc "-portname"
aload 1
iinc 2 1
iload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.requireArgument:(Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;
invokestatic javax.xml.namespace.QName.valueOf:(Ljava/lang/String;)Ljavax/xml/namespace/QName;
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.portName:Ljavax/xml/namespace/QName;
10: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.portName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
ifnull 11
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.portName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 12
11: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
iload 2
aaload
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_PORTNAME_MISSING_NAMESPACE:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.portName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
ifnull 13
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.portName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 14
13: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
iload 2
aaload
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_PORTNAME_MISSING_LOCALNAME:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iconst_2
ireturn
15: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-r"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
16: aload 0
new java.io.File
dup
aload 0
ldc "-r"
aload 1
iinc 2 1
iload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.requireArgument:(Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonclassDestDir:Ljava/io/File;
17: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonclassDestDir:Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifne 19
18: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonclassDestDir:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSCOMPILE_NO_SUCH_DIRECTORY:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iconst_2
ireturn
20: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-wsdl"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 33
21: aload 0
iconst_1
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.genWsdl:Z
22: aload 1
iload 2
aaload
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 23: aload 4
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 24: iload 5
ifne 32
25: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
26: aload 4
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 5
27: iload 5
iconst_m1
if_icmpne 30
28: aload 0
aload 4
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
29: goto 31
30: StackMap locals: java.lang.String int
StackMap stack:
aload 0
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
31: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocolSet:Z
32: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 33: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-XwsgenReport"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: aload 0
new java.io.File
dup
aload 0
ldc "-XwsgenReport"
aload 1
iinc 2 1
iload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.requireArgument:(Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.wsgenReport:Ljava/io/File;
35: iconst_2
ireturn
36: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-Xdonotoverwrite"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
37: aload 0
iconst_1
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.doNotOverWrite:Z
38: iconst_1
ireturn
39: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-inlineSchemas"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: aload 0
iconst_1
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.inlineSchemas:Z
41: iconst_1
ireturn
42: StackMap locals:
StackMap stack:
ldc "-x"
aload 1
iload 2
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.externalMetadataFiles:Ljava/util/List;
aload 0
ldc "-x"
aload 1
iinc 2 1
iload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.requireArgument:(Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
44: iconst_1
ireturn
45: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
0 46 1 args [Ljava/lang/String;
0 46 2 i I
1 46 3 j I
23 33 4 value Ljava/lang/String;
24 33 5 index I
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException
MethodParameters:
Name Flags
args
i
protected void addFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoints:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
0 2 1 arg Ljava/lang/String;
MethodParameters:
Name Flags
arg
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonclassDestDir:Ljava/io/File;
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.destDir:Ljava/io/File;
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonclassDestDir:Ljava/io/File;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocols:Ljava/util/Set;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
3: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocols:Ljava/util/Set;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_INVALID_PROTOCOL:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoints:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
5: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_MISSING_FILE:()Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
ifnull 7
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
ldc "Xsoap1.2"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.isExtensionMode:()Z
ifne 8
7: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_SOAP_12_WITHOUT_EXTENSION:()Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonstdProtocols:Ljava/util/Map;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 10
aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.isExtensionMode:()Z
ifne 10
9: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_PROTOCOL_WITHOUT_EXTENSION:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.inlineSchemas:Z
ifeq 12
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.genWsdl:Z
ifne 12
11: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL:()Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.validateEndpointClass:()V
13: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.validateArguments:()V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException
private void validateEndpointClass();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoints:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: com.sun.tools.internal.ws.wscompile.WsgenOptions java.lang.Class 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 0
aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.getClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
4: aload 1
ifnonnull 6
5: goto 12
6: StackMap locals: com.sun.tools.internal.ws.wscompile.WsgenOptions java.lang.Class java.lang.String java.util.Iterator
StackMap stack:
aload 1
invokevirtual java.lang.Class.isEnum:()Z
ifne 12
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifne 12
7: aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 9
8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.isImplClass:Z
10: aload 1
ldc Ljavax/jws/WebService;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.jws.WebService
astore 4
start local 4 11: aload 4
ifnonnull 13
end local 4 end local 2 12: StackMap locals: com.sun.tools.internal.ws.wscompile.WsgenOptions java.lang.Class top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
13: StackMap locals: com.sun.tools.internal.ws.wscompile.WsgenOptions java.lang.Class
StackMap stack:
aload 1
ifnonnull 15
14: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoints:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_CLASS_NOT_FOUND:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.isImplClass:Z
ifne 17
16: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoint:Ljava/lang/Class;
18: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.validateBinding:()V
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
1 20 1 clazz Ljava/lang/Class;
3 12 2 cls Ljava/lang/String;
11 12 4 webService Ljavax/jws/WebService;
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException
private void validateBinding();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.genWsdl:Z
ifeq 8
1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoint:Ljava/lang/Class;
invokestatic com.sun.xml.internal.ws.api.BindingID.parse:(Ljava/lang/Class;)Lcom/sun/xml/internal/ws/api/BindingID;
astore 1
start local 1 2: aload 1
getstatic com.sun.xml.internal.ws.api.BindingID.SOAP12_HTTP:Lcom/sun/xml/internal/ws/api/BindingID$SOAPHTTPImpl;
invokevirtual com.sun.xml.internal.ws.api.BindingID.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 1
getstatic com.sun.xml.internal.ws.api.BindingID.SOAP12_HTTP_MTOM:Lcom/sun/xml/internal/ws/api/BindingID$SOAPHTTPImpl;
invokevirtual com.sun.xml.internal.ws.api.BindingID.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: com.sun.xml.internal.ws.api.BindingID
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.protocol:Ljava/lang/String;
ldc "Xsoap1.2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.isExtensionMode:()Z
ifne 6
5: StackMap locals:
StackMap stack:
new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
invokevirtual com.sun.xml.internal.ws.api.BindingID.toString:()Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoint:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.xml.internal.ws.api.BindingID.XML_HTTP:Lcom/sun/xml/internal/ws/api/BindingID;
invokevirtual com.sun.xml.internal.ws.api.BindingID.equals:(Ljava/lang/Object;)Z
ifeq 8
7: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
aload 1
invokevirtual com.sun.xml.internal.ws.api.BindingID.toString:()Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.endpoint:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
2 8 1 binding Lcom/sun/xml/internal/ws/api/BindingID;
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException
private void validateArguments();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.genWsdl:Z
ifne 5
1: aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.serviceName:Ljavax/xml/namespace/QName;
ifnull 3
2: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
ldc "-servicename"
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_WSDL_ARG_NO_GENWSDL:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.portName:Ljavax/xml/namespace/QName;
ifnull 5
4: new com.sun.tools.internal.ws.wscompile.BadCommandLineException
dup
ldc "-portname"
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WSGEN_WSDL_ARG_NO_GENWSDL:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.tools.internal.ws.wscompile.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
Exceptions:
throws com.sun.tools.internal.ws.wscompile.BadCommandLineException
com.sun.xml.internal.ws.api.BindingID getBindingID(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/xml/internal/ws/api/BindingID;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "soap1.1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: getstatic com.sun.xml.internal.ws.api.BindingID.SOAP11_HTTP:Lcom/sun/xml/internal/ws/api/BindingID$SOAPHTTPImpl;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "Xsoap1.2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: getstatic com.sun.xml.internal.ws.api.BindingID.SOAP12_HTTP:Lcom/sun/xml/internal/ws/api/BindingID$SOAPHTTPImpl;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wscompile.WsgenOptions.nonstdProtocols:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: aload 2
ifnull 6
aload 2
invokestatic com.sun.xml.internal.ws.api.BindingID.parse:(Ljava/lang/String;)Lcom/sun/xml/internal/ws/api/BindingID;
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: com.sun.xml.internal.ws.api.BindingID
7: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
0 8 1 protocol Ljava/lang/String;
5 8 2 lexical Ljava/lang/String;
MethodParameters:
Name Flags
protocol
private java.lang.Class getClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.internal.ws.wscompile.WsgenOptions.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
3: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/ws/wscompile/WsgenOptions;
0 4 1 className Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
}
SourceFile: "WsgenOptions.java"