public class com.sun.tools.internal.ws.processor.generator.ServiceGenerator extends com.sun.tools.internal.ws.processor.generator.GeneratorBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.ws.processor.generator.ServiceGenerator
super_class: com.sun.tools.internal.ws.processor.generator.GeneratorBase
{
public static void generate(com.sun.tools.internal.ws.processor.model.Model, com.sun.tools.internal.ws.wscompile.WsimportOptions, com.sun.tools.internal.ws.wscompile.ErrorReceiver);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.tools.internal.ws.processor.generator.ServiceGenerator
dup
aload 0
aload 1
aload 2
invokespecial com.sun.tools.internal.ws.processor.generator.ServiceGenerator.<init>:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
astore 3
start local 3 1: aload 3
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.doGeneration:()V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 model Lcom/sun/tools/internal/ws/processor/model/Model;
0 3 1 options Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
0 3 2 receiver Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
1 3 3 serviceGenerator Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
MethodParameters:
Name Flags
model
options
receiver
private void <init>(com.sun.tools.internal.ws.processor.model.Model, com.sun.tools.internal.ws.wscompile.WsimportOptions, com.sun.tools.internal.ws.wscompile.ErrorReceiver);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.sun.tools.internal.ws.processor.generator.GeneratorBase.<init>:()V
1: aload 0
aload 1
aload 2
aload 3
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.init:(Lcom/sun/tools/internal/ws/processor/model/Model;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)V
2: return
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/processor/generator/ServiceGenerator;
0 3 1 model Lcom/sun/tools/internal/ws/processor/model/Model;
0 3 2 options Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
0 3 3 receiver Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
MethodParameters:
Name Flags
model
options
receiver
public void visit(com.sun.tools.internal.ws.processor.model.Service);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Service;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=23, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getJavaInterface:()Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;
astore 2
start local 2 1: aload 2
invokestatic com.sun.tools.internal.ws.processor.generator.Names.customJavaTypeClassName:(Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.donotOverride:Z
ifeq 5
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 3
invokestatic com.sun.tools.internal.ws.processor.generator.GeneratorUtil.classExists:(Lcom/sun/tools/internal/ws/wscompile/Options;Ljava/lang/String;)Z
ifeq 5
3: aload 0
new java.lang.StringBuilder
dup
ldc "Class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " exists. Not overriding."
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.processor.generator.ServiceGenerator.log:(Ljava/lang/String;)V
4: return
5: StackMap locals: com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String
StackMap stack:
aload 0
aload 3
getstatic com.sun.codemodel.internal.ClassType.CLASS:Lcom/sun/codemodel/internal/ClassType;
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.getClass:(Ljava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
astore 4
start local 4 6: goto 10
end local 4 StackMap locals:
StackMap stack: com.sun.codemodel.internal.JClassAlreadyExistsException
7: pop
8: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.receiver:Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getLocator:()Lorg/xml/sax/Locator;
aload 3
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getName:()Ljavax/xml/namespace/QName;
invokestatic com.sun.tools.internal.ws.resources.GeneratorMessages.GENERATOR_SERVICE_CLASS_ALREADY_EXIST:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.ErrorReceiver.error:(Lorg/xml/sax/Locator;Ljava/lang/String;)V
9: return
start local 4 10: StackMap locals: com.sun.codemodel.internal.JDefinedClass
StackMap stack:
aload 4
ldc Ljavax/xml/ws/Service;
invokevirtual com.sun.codemodel.internal.JDefinedClass._extends:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JDefinedClass;
pop
11: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokestatic com.sun.xml.internal.ws.spi.db.BindingHelper.mangleNameToClassName:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 5
start local 5 12: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_WSDL_LOCATION"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 13: aload 4
bipush 28
ldc Ljava/net/URL;
aload 6
invokevirtual com.sun.codemodel.internal.JDefinedClass.field:(ILjava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JFieldVar;
astore 7
start local 7 14: aload 4
bipush 28
ldc Ljavax/xml/ws/WebServiceException;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_EXCEPTION"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JDefinedClass.field:(ILjava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JFieldVar;
astore 8
start local 8 15: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_QNAME"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 16: aload 4
bipush 28
ldc Ljavax/xml/namespace/QName;
aload 9
17: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/namespace/QName;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
18: invokevirtual com.sun.codemodel.internal.JDefinedClass.field:(ILjava/lang/Class;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JFieldVar;
pop
19: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/namespace/QName;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
astore 10
start local 10 20: aload 10
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
astore 11
start local 11 21: aload 11
ldc "namespace"
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
pop
22: aload 11
ldc "localpart"
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
pop
23: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.useBaseResourceAndURLToLoadWSDL:Z
ifeq 26
24: aload 0
aload 3
aload 4
aload 7
aload 8
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeClassLoaderBaseResourceWSDLLocation:(Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
25: goto 33
StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation
StackMap stack:
26: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
ldc "http://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 27
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
ldc "https://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 27
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
ldc "file:/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 29
27: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 7
aload 8
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeAbsWSDLLocation:(Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
28: goto 33
StackMap locals:
StackMap stack:
29: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
30: aload 0
aload 3
aload 4
aload 7
aload 8
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeClassLoaderResourceWSDLLocation:(Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 4
aload 7
aload 8
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeResourceWSDLLocation:(Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
33: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.codemodel.internal.JDefinedClass.javadoc:()Lcom/sun/codemodel/internal/JDocComment;
astore 12
start local 12 34: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getJavaDoc:()Ljava/lang/String;
ifnull 37
35: aload 12
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getJavaDoc:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JDocComment.add:(Ljava/lang/Object;)Z
pop
36: aload 12
ldc "\n\n"
invokevirtual com.sun.codemodel.internal.JDocComment.add:(Ljava/lang/Object;)Z
pop
37: StackMap locals: com.sun.codemodel.internal.JDocComment
StackMap stack:
aload 0
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.getJAXWSClassComment:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 40
StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment top java.util.Iterator
StackMap stack:
38: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 13
start local 13 39: aload 12
aload 13
invokevirtual com.sun.codemodel.internal.JDocComment.add:(Ljava/lang/Object;)Z
pop
end local 13 40: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 38
41: aload 4
iconst_1
invokevirtual com.sun.codemodel.internal.JDefinedClass.constructor:(I)Lcom/sun/codemodel/internal/JMethod;
astore 13
start local 13 42: ldc "super(__getWsdlLocation(), %s);"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 14
start local 14 43: aload 13
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 14
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
44: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.target:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
getstatic com.sun.tools.internal.ws.wscompile.Options$Target.V2_2:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.isLaterThan:(Lcom/sun/tools/internal/ws/wscompile/Options$Target;)Z
ifeq 49
45: aload 4
iconst_1
invokevirtual com.sun.codemodel.internal.JDefinedClass.constructor:(I)Lcom/sun/codemodel/internal/JMethod;
astore 15
start local 15 46: aload 15
ldc Ljavax/xml/ws/WebServiceFeature;
ldc "features"
invokevirtual com.sun.codemodel.internal.JMethod.varParam:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
47: ldc "super(__getWsdlLocation(), %s, features);"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 16
start local 16 48: aload 15
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 16
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
end local 16 end local 15 49: StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment com.sun.codemodel.internal.JMethod java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.target:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
getstatic com.sun.tools.internal.ws.wscompile.Options$Target.V2_2:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.isLaterThan:(Lcom/sun/tools/internal/ws/wscompile/Options$Target;)Z
ifeq 54
50: aload 4
iconst_1
invokevirtual com.sun.codemodel.internal.JDefinedClass.constructor:(I)Lcom/sun/codemodel/internal/JMethod;
astore 15
start local 15 51: aload 15
ldc Ljava/net/URL;
ldc "wsdlLocation"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
52: ldc "super(wsdlLocation, %s);"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 16
start local 16 53: aload 15
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 16
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
end local 16 end local 15 54: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.target:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
getstatic com.sun.tools.internal.ws.wscompile.Options$Target.V2_2:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.isLaterThan:(Lcom/sun/tools/internal/ws/wscompile/Options$Target;)Z
ifeq 60
55: aload 4
iconst_1
invokevirtual com.sun.codemodel.internal.JDefinedClass.constructor:(I)Lcom/sun/codemodel/internal/JMethod;
astore 15
start local 15 56: aload 15
ldc Ljava/net/URL;
ldc "wsdlLocation"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
57: aload 15
ldc Ljavax/xml/ws/WebServiceFeature;
ldc "features"
invokevirtual com.sun.codemodel.internal.JMethod.varParam:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
58: ldc "super(wsdlLocation, %s, features);"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 16
start local 16 59: aload 15
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 16
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
end local 16 end local 15 60: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokevirtual com.sun.codemodel.internal.JDefinedClass.constructor:(I)Lcom/sun/codemodel/internal/JMethod;
astore 15
start local 15 61: aload 15
ldc Ljava/net/URL;
ldc "wsdlLocation"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
62: aload 15
ldc Ljavax/xml/namespace/QName;
ldc "serviceName"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
63: aload 15
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
ldc "super(wsdlLocation, serviceName);"
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
64: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.target:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
getstatic com.sun.tools.internal.ws.wscompile.Options$Target.V2_2:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.isLaterThan:(Lcom/sun/tools/internal/ws/wscompile/Options$Target;)Z
ifeq 70
65: aload 4
iconst_1
invokevirtual com.sun.codemodel.internal.JDefinedClass.constructor:(I)Lcom/sun/codemodel/internal/JMethod;
astore 16
start local 16 66: aload 16
ldc Ljava/net/URL;
ldc "wsdlLocation"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
67: aload 16
ldc Ljavax/xml/namespace/QName;
ldc "serviceName"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
68: aload 16
ldc Ljavax/xml/ws/WebServiceFeature;
ldc "features"
invokevirtual com.sun.codemodel.internal.JMethod.varParam:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
69: aload 16
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
ldc "super(wsdlLocation, serviceName, features);"
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
end local 16 70: StackMap locals: com.sun.codemodel.internal.JMethod
StackMap stack:
aload 4
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceClient;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.annotate:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
astore 16
start local 16 71: aload 0
aload 1
aload 16
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeWebServiceClientAnnotation:(Lcom/sun/tools/internal/ws/processor/model/Service;Lcom/sun/codemodel/internal/JAnnotationUse;)V
72: ldc Lcom/sun/tools/internal/ws/processor/generator/GeneratorExtension;
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 18
goto 75
StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment com.sun.codemodel.internal.JMethod java.lang.String com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JAnnotationUse top java.util.Iterator
StackMap stack:
73: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.generator.GeneratorExtension
astore 17
start local 17 74: aload 17
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
aload 4
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorExtension.writeWebServiceClientAnnotation:(Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;Lcom/sun/codemodel/internal/JCodeModel;Lcom/sun/codemodel/internal/JDefinedClass;)V
end local 17 75: StackMap locals:
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 73
76: aload 0
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getJavaInterface:()Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;
invokestatic com.sun.tools.internal.ws.processor.generator.Names.customJavaTypeClassName:(Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;)Ljava/lang/String;
aload 4
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeHandlerConfig:(Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;)V
77: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getPorts:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 18
goto 98
StackMap locals:
StackMap stack:
78: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.model.Port
astore 17
start local 17 79: aload 17
invokevirtual com.sun.tools.internal.ws.processor.model.Port.isProvider:()Z
ifeq 81
80: goto 98
81: StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment com.sun.codemodel.internal.JMethod java.lang.String com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JAnnotationUse com.sun.tools.internal.ws.processor.model.Port java.util.Iterator
StackMap stack:
aload 0
aload 17
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getJavaInterface:()Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;
invokevirtual com.sun.tools.internal.ws.processor.model.java.JavaInterface.getName:()Ljava/lang/String;
getstatic com.sun.codemodel.internal.ClassType.INTERFACE:Lcom/sun/codemodel/internal/ClassType;
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.getClass:(Ljava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
astore 19
start local 19 82: goto 95
end local 19 StackMap locals:
StackMap stack: com.sun.codemodel.internal.JClassAlreadyExistsException
83: pop
84: aload 17
85: ldc "com.sun.xml.internal.ws.processor.model.WSDLPortTypeName"
86: invokevirtual com.sun.tools.internal.ws.processor.model.Port.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.xml.namespace.QName
87: astore 20
start local 20 88: aconst_null
astore 21
start local 21 89: aload 20
ifnull 93
90: aload 17
getfield com.sun.tools.internal.ws.processor.model.Port.portTypes:Ljava/util/Map;
aload 20
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.wsdl.document.PortType
astore 22
start local 22 91: aload 22
ifnull 93
92: aload 22
invokevirtual com.sun.tools.internal.ws.wsdl.document.PortType.getLocator:()Lorg/xml/sax/Locator;
astore 21
end local 22 93: StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment com.sun.codemodel.internal.JMethod java.lang.String com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JAnnotationUse com.sun.tools.internal.ws.processor.model.Port java.util.Iterator top javax.xml.namespace.QName org.xml.sax.Locator
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.receiver:Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
aload 21
aload 17
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getJavaInterface:()Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;
invokevirtual com.sun.tools.internal.ws.processor.model.java.JavaInterface.getName:()Ljava/lang/String;
aload 20
invokestatic com.sun.tools.internal.ws.resources.GeneratorMessages.GENERATOR_SEI_CLASS_ALREADY_EXIST:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.ws.wscompile.ErrorReceiver.error:(Lorg/xml/sax/Locator;Ljava/lang/String;)V
94: return
end local 21 end local 20 start local 19 95: StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment com.sun.codemodel.internal.JMethod java.lang.String com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JAnnotationUse com.sun.tools.internal.ws.processor.model.Port java.util.Iterator com.sun.codemodel.internal.JType
StackMap stack:
aload 0
aload 17
aload 19
aload 4
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeDefaultGetPort:(Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JType;Lcom/sun/codemodel/internal/JDefinedClass;)V
96: aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.target:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
getstatic com.sun.tools.internal.ws.wscompile.Options$Target.V2_1:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.isLaterThan:(Lcom/sun/tools/internal/ws/wscompile/Options$Target;)Z
ifeq 98
97: aload 0
aload 17
aload 19
aload 4
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeGetPort:(Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JType;Lcom/sun/codemodel/internal/JDefinedClass;)V
end local 19 end local 17 98: StackMap locals: com.sun.tools.internal.ws.processor.generator.ServiceGenerator com.sun.tools.internal.ws.processor.model.Service com.sun.tools.internal.ws.processor.model.java.JavaInterface java.lang.String com.sun.codemodel.internal.JDefinedClass java.lang.String java.lang.String com.sun.codemodel.internal.JFieldVar com.sun.codemodel.internal.JFieldVar java.lang.String com.sun.codemodel.internal.JClass com.sun.codemodel.internal.JInvocation com.sun.codemodel.internal.JDocComment com.sun.codemodel.internal.JMethod java.lang.String com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JAnnotationUse top java.util.Iterator
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 78
99: aload 0
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/URL;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
aload 4
aload 7
aload 8
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeGetWsdlLocation:(Lcom/sun/codemodel/internal/JType;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
100: return
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 101 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 101 1 service Lcom/sun/tools/internal/ws/processor/model/Service;
1 101 2 intf Lcom/sun/tools/internal/ws/processor/model/java/JavaInterface;
2 101 3 className Ljava/lang/String;
6 7 4 cls Lcom/sun/codemodel/internal/JDefinedClass;
10 101 4 cls Lcom/sun/codemodel/internal/JDefinedClass;
12 101 5 serviceFieldName Ljava/lang/String;
13 101 6 wsdlLocationName Ljava/lang/String;
14 101 7 urlField Lcom/sun/codemodel/internal/JFieldVar;
15 101 8 exField Lcom/sun/codemodel/internal/JFieldVar;
16 101 9 serviceName Ljava/lang/String;
20 101 10 qNameCls Lcom/sun/codemodel/internal/JClass;
21 101 11 inv Lcom/sun/codemodel/internal/JInvocation;
34 101 12 comment Lcom/sun/codemodel/internal/JDocComment;
39 40 13 doc Ljava/lang/String;
42 101 13 constructor1 Lcom/sun/codemodel/internal/JMethod;
43 101 14 constructor1Str Ljava/lang/String;
46 49 15 constructor2 Lcom/sun/codemodel/internal/JMethod;
48 49 16 constructor2Str Ljava/lang/String;
51 54 15 constructor3 Lcom/sun/codemodel/internal/JMethod;
53 54 16 constructor3Str Ljava/lang/String;
56 60 15 constructor4 Lcom/sun/codemodel/internal/JMethod;
59 60 16 constructor4Str Ljava/lang/String;
61 101 15 constructor5 Lcom/sun/codemodel/internal/JMethod;
66 70 16 constructor6 Lcom/sun/codemodel/internal/JMethod;
71 101 16 webServiceClientAnn Lcom/sun/codemodel/internal/JAnnotationUse;
74 75 17 f Lcom/sun/tools/internal/ws/processor/generator/GeneratorExtension;
79 98 17 port Lcom/sun/tools/internal/ws/processor/model/Port;
82 83 19 retType Lcom/sun/codemodel/internal/JType;
95 98 19 retType Lcom/sun/codemodel/internal/JType;
88 95 20 portTypeName Ljavax/xml/namespace/QName;
89 95 21 loc Lorg/xml/sax/Locator;
91 93 22 pt Lcom/sun/tools/internal/ws/wsdl/document/PortType;
Exception table:
from to target type
5 6 7 Class com.sun.codemodel.internal.JClassAlreadyExistsException
81 82 83 Class com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
service
private void writeGetPort(com.sun.tools.internal.ws.processor.model.Port, com.sun.codemodel.internal.JType, com.sun.codemodel.internal.JDefinedClass);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JType;Lcom/sun/codemodel/internal/JDefinedClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
iconst_1
aload 2
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getPortGetter:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JDefinedClass.method:(ILcom/sun/codemodel/internal/JType;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
astore 4
start local 4 1: aload 4
invokevirtual com.sun.codemodel.internal.JMethod.javadoc:()Lcom/sun/codemodel/internal/JDocComment;
astore 5
start local 5 2: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getJavaDoc:()Ljava/lang/String;
ifnull 4
3: aload 5
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getJavaDoc:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JDocComment.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JDocComment
StackMap stack:
aload 5
invokevirtual com.sun.codemodel.internal.JDocComment.addReturn:()Lcom/sun/codemodel/internal/JCommentPart;
astore 6
start local 6 5: aload 5
ldc "features"
invokevirtual com.sun.codemodel.internal.JDocComment.addParam:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JCommentPart;
astore 7
start local 7 6: aload 7
ldc "A list of "
invokevirtual com.sun.codemodel.internal.JCommentPart.append:(Ljava/lang/Object;)Lcom/sun/codemodel/internal/JCommentPart;
pop
7: aload 7
new java.lang.StringBuilder
dup
ldc "{@link "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc Ljavax/xml/ws/WebServiceFeature;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JCommentPart.append:(Ljava/lang/Object;)Lcom/sun/codemodel/internal/JCommentPart;
pop
8: aload 7
ldc "to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values."
invokevirtual com.sun.codemodel.internal.JCommentPart.append:(Ljava/lang/Object;)Lcom/sun/codemodel/internal/JCommentPart;
pop
9: aload 6
new java.lang.StringBuilder
dup
ldc "returns "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual com.sun.codemodel.internal.JType.name:()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.codemodel.internal.JCommentPart.add:(Ljava/lang/Object;)Z
pop
10: aload 4
ldc Ljavax/xml/ws/WebServiceFeature;
ldc "features"
invokevirtual com.sun.codemodel.internal.JMethod.varParam:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
11: aload 4
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
astore 8
start local 8 12: new java.lang.StringBuilder
dup
ldc "return "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 9
start local 9 13: aload 9
ldc "super.getPort(new QName(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\", \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\"), "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 9
aload 2
invokevirtual com.sun.codemodel.internal.JType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 9
ldc ".class, features);"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 8
aload 9
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
17: aload 0
aload 1
aload 4
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeWebEndpoint:(Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JMethod;)V
18: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 19 1 port Lcom/sun/tools/internal/ws/processor/model/Port;
0 19 2 retType Lcom/sun/codemodel/internal/JType;
0 19 3 cls Lcom/sun/codemodel/internal/JDefinedClass;
1 19 4 m Lcom/sun/codemodel/internal/JMethod;
2 19 5 methodDoc Lcom/sun/codemodel/internal/JDocComment;
5 19 6 ret Lcom/sun/codemodel/internal/JCommentPart;
6 19 7 paramDoc Lcom/sun/codemodel/internal/JCommentPart;
12 19 8 body Lcom/sun/codemodel/internal/JBlock;
13 19 9 statement Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
port
retType
cls
private void writeAbsWSDLLocation(com.sun.codemodel.internal.JDefinedClass, com.sun.codemodel.internal.JFieldVar, com.sun.codemodel.internal.JFieldVar);
descriptor: (Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual com.sun.codemodel.internal.JDefinedClass.init:()Lcom/sun/codemodel/internal/JBlock;
astore 4
start local 4 1: aload 4
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/URL;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
ldc "url"
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock.decl:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
astore 5
start local 5 2: aload 4
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
ldc "e"
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock.decl:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
astore 6
start local 6 3: aload 4
invokevirtual com.sun.codemodel.internal.JBlock._try:()Lcom/sun/codemodel/internal/JTryBlock;
astore 7
start local 7 4: aload 7
invokevirtual com.sun.codemodel.internal.JTryBlock.body:()Lcom/sun/codemodel/internal/JBlock;
aload 5
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/URL;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
5: aload 7
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/MalformedURLException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JTryBlock._catch:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JCatchBlock;
astore 8
start local 8 6: aload 8
ldc "ex"
invokevirtual com.sun.codemodel.internal.JCatchBlock.param:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
pop
7: aload 8
invokevirtual com.sun.codemodel.internal.JCatchBlock.body:()Lcom/sun/codemodel/internal/JBlock;
aload 6
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
ldc "ex"
invokestatic com.sun.codemodel.internal.JExpr.ref:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFieldRef;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
8: aload 4
aload 2
aload 5
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
9: aload 4
aload 3
aload 6
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
10: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 11 1 cls Lcom/sun/codemodel/internal/JDefinedClass;
0 11 2 urlField Lcom/sun/codemodel/internal/JFieldVar;
0 11 3 exField Lcom/sun/codemodel/internal/JFieldVar;
1 11 4 staticBlock Lcom/sun/codemodel/internal/JBlock;
2 11 5 urlVar Lcom/sun/codemodel/internal/JVar;
3 11 6 exVar Lcom/sun/codemodel/internal/JVar;
4 11 7 tryBlock Lcom/sun/codemodel/internal/JTryBlock;
6 11 8 catchBlock Lcom/sun/codemodel/internal/JCatchBlock;
MethodParameters:
Name Flags
cls
urlField
exField
private void writeResourceWSDLLocation(java.lang.String, com.sun.codemodel.internal.JDefinedClass, com.sun.codemodel.internal.JFieldVar, com.sun.codemodel.internal.JFieldVar);
descriptor: (Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual com.sun.codemodel.internal.JDefinedClass.init:()Lcom/sun/codemodel/internal/JBlock;
astore 5
start local 5 1: aload 5
aload 3
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr.dotclass:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JExpression;
ldc "getResource"
invokeinterface com.sun.codemodel.internal.JExpression.invoke:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
2: aload 5
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
ldc "e"
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock.decl:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
astore 6
start local 6 3: aload 5
aload 3
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JFieldVar.eq:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock._if:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JConditional;
astore 7
start local 7 4: aload 7
invokevirtual com.sun.codemodel.internal.JConditional._then:()Lcom/sun/codemodel/internal/JBlock;
aload 6
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
5: new java.lang.StringBuilder
dup
ldc "Cannot find "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 39
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokestatic com.sun.codemodel.internal.JExpr.quotify:(CLjava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " wsdl. Place the resource correctly in the classpath."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
7: aload 5
aload 4
aload 6
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
8: return
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 9 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 9 1 className Ljava/lang/String;
0 9 2 cls Lcom/sun/codemodel/internal/JDefinedClass;
0 9 3 urlField Lcom/sun/codemodel/internal/JFieldVar;
0 9 4 exField Lcom/sun/codemodel/internal/JFieldVar;
1 9 5 staticBlock Lcom/sun/codemodel/internal/JBlock;
3 9 6 exVar Lcom/sun/codemodel/internal/JVar;
4 9 7 ifBlock Lcom/sun/codemodel/internal/JConditional;
MethodParameters:
Name Flags
className
cls
urlField
exField
private void writeClassLoaderResourceWSDLLocation(java.lang.String, com.sun.codemodel.internal.JDefinedClass, com.sun.codemodel.internal.JFieldVar, com.sun.codemodel.internal.JFieldVar);
descriptor: (Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual com.sun.codemodel.internal.JDefinedClass.init:()Lcom/sun/codemodel/internal/JBlock;
astore 5
start local 5 1: aload 5
aload 3
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr.dotclass:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JExpression;
ldc "getClassLoader"
invokeinterface com.sun.codemodel.internal.JExpression.invoke:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
ldc "getResource"
invokevirtual com.sun.codemodel.internal.JInvocation.invoke:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
2: aload 5
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
ldc "e"
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock.decl:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
astore 6
start local 6 3: aload 5
aload 3
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JFieldVar.eq:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock._if:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JConditional;
astore 7
start local 7 4: aload 7
invokevirtual com.sun.codemodel.internal.JConditional._then:()Lcom/sun/codemodel/internal/JBlock;
aload 6
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
5: new java.lang.StringBuilder
dup
ldc "Cannot find "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 39
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokestatic com.sun.codemodel.internal.JExpr.quotify:(CLjava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " wsdl. Place the resource correctly in the classpath."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
7: aload 5
aload 4
aload 6
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
8: return
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 9 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 9 1 className Ljava/lang/String;
0 9 2 cls Lcom/sun/codemodel/internal/JDefinedClass;
0 9 3 urlField Lcom/sun/codemodel/internal/JFieldVar;
0 9 4 exField Lcom/sun/codemodel/internal/JFieldVar;
1 9 5 staticBlock Lcom/sun/codemodel/internal/JBlock;
3 9 6 exVar Lcom/sun/codemodel/internal/JVar;
4 9 7 ifBlock Lcom/sun/codemodel/internal/JConditional;
MethodParameters:
Name Flags
className
cls
urlField
exField
private void writeClassLoaderBaseResourceWSDLLocation(java.lang.String, com.sun.codemodel.internal.JDefinedClass, com.sun.codemodel.internal.JFieldVar, com.sun.codemodel.internal.JFieldVar);
descriptor: (Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual com.sun.codemodel.internal.JDefinedClass.init:()Lcom/sun/codemodel/internal/JBlock;
astore 5
start local 5 1: aload 5
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
ldc "e"
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock.decl:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
astore 6
start local 6 2: aload 5
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/URL;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
ldc "url"
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock.decl:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
astore 7
start local 7 3: aload 5
invokevirtual com.sun.codemodel.internal.JBlock._try:()Lcom/sun/codemodel/internal/JTryBlock;
astore 8
start local 8 4: aload 8
invokevirtual com.sun.codemodel.internal.JTryBlock.body:()Lcom/sun/codemodel/internal/JBlock;
aload 7
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/URL;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr.dotclass:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JExpression;
ldc "getResource"
invokeinterface com.sun.codemodel.internal.JExpression.invoke:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
ldc "."
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JInvocation;
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
5: aload 8
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljava/net/MalformedURLException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JTryBlock._catch:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JCatchBlock;
astore 9
start local 9 6: aload 9
ldc "murl"
invokevirtual com.sun.codemodel.internal.JCatchBlock.param:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
astore 10
start local 10 7: aload 9
invokevirtual com.sun.codemodel.internal.JCatchBlock.body:()Lcom/sun/codemodel/internal/JBlock;
aload 6
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebServiceException;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokestatic com.sun.codemodel.internal.JExpr._new:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JInvocation;
aload 10
invokevirtual com.sun.codemodel.internal.JInvocation.arg:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JInvocation;
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
8: aload 5
aload 3
aload 7
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
9: aload 5
aload 4
aload 6
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
10: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 11 1 className Ljava/lang/String;
0 11 2 cls Lcom/sun/codemodel/internal/JDefinedClass;
0 11 3 urlField Lcom/sun/codemodel/internal/JFieldVar;
0 11 4 exField Lcom/sun/codemodel/internal/JFieldVar;
1 11 5 staticBlock Lcom/sun/codemodel/internal/JBlock;
2 11 6 exVar Lcom/sun/codemodel/internal/JVar;
3 11 7 urlVar Lcom/sun/codemodel/internal/JVar;
4 11 8 tryBlock Lcom/sun/codemodel/internal/JTryBlock;
6 11 9 catchBlock Lcom/sun/codemodel/internal/JCatchBlock;
7 11 10 murlVar Lcom/sun/codemodel/internal/JVar;
MethodParameters:
Name Flags
className
cls
urlField
exField
private void writeGetWsdlLocation(com.sun.codemodel.internal.JType, com.sun.codemodel.internal.JDefinedClass, com.sun.codemodel.internal.JFieldVar, com.sun.codemodel.internal.JFieldVar);
descriptor: (Lcom/sun/codemodel/internal/JType;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JFieldVar;Lcom/sun/codemodel/internal/JFieldVar;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
bipush 20
aload 1
ldc "__getWsdlLocation"
invokevirtual com.sun.codemodel.internal.JDefinedClass.method:(ILcom/sun/codemodel/internal/JType;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
astore 5
start local 5 1: aload 5
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 4
invokestatic com.sun.codemodel.internal.JExpr._null:()Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JFieldVar.ne:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JBlock._if:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JConditional;
astore 6
start local 6 2: aload 6
invokevirtual com.sun.codemodel.internal.JConditional._then:()Lcom/sun/codemodel/internal/JBlock;
aload 4
invokevirtual com.sun.codemodel.internal.JBlock._throw:(Lcom/sun/codemodel/internal/JExpression;)V
3: aload 5
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 3
invokevirtual com.sun.codemodel.internal.JBlock._return:(Lcom/sun/codemodel/internal/JExpression;)V
4: 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 5 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 5 1 retType Lcom/sun/codemodel/internal/JType;
0 5 2 cls Lcom/sun/codemodel/internal/JDefinedClass;
0 5 3 urlField Lcom/sun/codemodel/internal/JFieldVar;
0 5 4 exField Lcom/sun/codemodel/internal/JFieldVar;
1 5 5 m Lcom/sun/codemodel/internal/JMethod;
2 5 6 ifBlock Lcom/sun/codemodel/internal/JConditional;
MethodParameters:
Name Flags
retType
cls
urlField
exField
private void writeDefaultGetPort(com.sun.tools.internal.ws.processor.model.Port, com.sun.codemodel.internal.JType, com.sun.codemodel.internal.JDefinedClass);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JType;Lcom/sun/codemodel/internal/JDefinedClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getPortGetter:()Ljava/lang/String;
astore 4
start local 4 1: aload 3
iconst_1
aload 2
aload 4
invokevirtual com.sun.codemodel.internal.JDefinedClass.method:(ILcom/sun/codemodel/internal/JType;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
astore 5
start local 5 2: aload 5
invokevirtual com.sun.codemodel.internal.JMethod.javadoc:()Lcom/sun/codemodel/internal/JDocComment;
astore 6
start local 6 3: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getJavaDoc:()Ljava/lang/String;
ifnull 5
4: aload 6
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getJavaDoc:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JDocComment.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: java.lang.String com.sun.codemodel.internal.JMethod com.sun.codemodel.internal.JDocComment
StackMap stack:
aload 6
invokevirtual com.sun.codemodel.internal.JDocComment.addReturn:()Lcom/sun/codemodel/internal/JCommentPart;
astore 7
start local 7 6: aload 7
new java.lang.StringBuilder
dup
ldc "returns "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual com.sun.codemodel.internal.JType.name:()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.codemodel.internal.JCommentPart.add:(Ljava/lang/Object;)Z
pop
7: aload 5
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
astore 8
start local 8 8: new java.lang.StringBuilder
dup
ldc "return "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 9
start local 9 9: aload 9
ldc "super.getPort(new QName(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\", \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\"), "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 9
aload 2
invokevirtual com.sun.codemodel.internal.JType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 9
ldc ".class);"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 8
aload 9
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JBlock.directStatement:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JStatement;
pop
13: aload 0
aload 1
aload 5
invokevirtual com.sun.tools.internal.ws.processor.generator.ServiceGenerator.writeWebEndpoint:(Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JMethod;)V
14: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 15 1 port Lcom/sun/tools/internal/ws/processor/model/Port;
0 15 2 retType Lcom/sun/codemodel/internal/JType;
0 15 3 cls Lcom/sun/codemodel/internal/JDefinedClass;
1 15 4 portGetter Ljava/lang/String;
2 15 5 m Lcom/sun/codemodel/internal/JMethod;
3 15 6 methodDoc Lcom/sun/codemodel/internal/JDocComment;
6 15 7 ret Lcom/sun/codemodel/internal/JCommentPart;
8 15 8 body Lcom/sun/codemodel/internal/JBlock;
9 15 9 statement Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
port
retType
cls
private void writeWebServiceClientAnnotation(com.sun.tools.internal.ws.processor.model.Service, com.sun.codemodel.internal.JAnnotationUse);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Service;Lcom/sun/codemodel/internal/JAnnotationUse;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
astore 4
start local 4 2: aload 2
ldc "name"
aload 3
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
3: aload 2
ldc "targetNamespace"
aload 4
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
4: aload 2
ldc "wsdlLocation"
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.wsdlLocation:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/ws/processor/generator/ServiceGenerator;
0 6 1 service Lcom/sun/tools/internal/ws/processor/model/Service;
0 6 2 wsa Lcom/sun/codemodel/internal/JAnnotationUse;
1 6 3 serviceName Ljava/lang/String;
2 6 4 serviceNS Ljava/lang/String;
MethodParameters:
Name Flags
service
wsa
private void writeWebEndpoint(com.sun.tools.internal.ws.processor.model.Port, com.sun.codemodel.internal.JMethod);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Port;Lcom/sun/codemodel/internal/JMethod;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield com.sun.tools.internal.ws.processor.generator.ServiceGenerator.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/ws/WebEndpoint;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JMethod.annotate:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
astore 3
start local 3 1: aload 3
ldc "name"
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
2: return
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/processor/generator/ServiceGenerator;
0 3 1 port Lcom/sun/tools/internal/ws/processor/model/Port;
0 3 2 m Lcom/sun/codemodel/internal/JMethod;
1 3 3 webEndpointAnn Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
port
m
}
SourceFile: "ServiceGenerator.java"
InnerClasses:
public final Target = com.sun.tools.internal.ws.wscompile.Options$Target of com.sun.tools.internal.ws.wscompile.Options