public abstract class com.sun.tools.internal.ws.processor.generator.GeneratorBase implements com.sun.tools.internal.ws.processor.model.ModelVisitor
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.internal.ws.processor.generator.GeneratorBase
super_class: java.lang.Object
{
private java.io.File destDir;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.lang.String targetVersion;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected boolean donotOverride;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected com.sun.codemodel.internal.JCodeModel cm;
descriptor: Lcom/sun/codemodel/internal/JCodeModel;
flags: (0x0004) ACC_PROTECTED
protected com.sun.tools.internal.ws.processor.model.Model model;
descriptor: Lcom/sun/tools/internal/ws/processor/model/Model;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String wsdlLocation;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected com.sun.tools.internal.ws.wscompile.ErrorReceiver receiver;
descriptor: Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
flags: (0x0004) ACC_PROTECTED
protected com.sun.tools.internal.ws.wscompile.WsimportOptions options;
descriptor: Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
flags: (0x0004) ACC_PROTECTED
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
public 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: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.model:Lcom/sun/tools/internal/ws/processor/model/Model;
1: aload 0
aload 2
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
2: aload 0
aload 2
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.destDir:Ljava/io/File;
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.destDir:Ljava/io/File;
3: aload 0
aload 3
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.receiver:Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
4: aload 0
aload 2
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.wsdlLocation:Ljava/lang/String;
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.wsdlLocation:Ljava/lang/String;
5: aload 0
aload 2
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.target:Lcom/sun/tools/internal/ws/wscompile/Options$Target;
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.getVersion:()Ljava/lang/String;
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.targetVersion:Ljava/lang/String;
6: aload 0
aload 2
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
putfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.cm:Lcom/sun/codemodel/internal/JCodeModel;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 8 1 model Lcom/sun/tools/internal/ws/processor/model/Model;
0 8 2 options Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
0 8 3 receiver Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
MethodParameters:
Name Flags
model
options
receiver
public void doGeneration();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.model:Lcom/sun/tools/internal/ws/processor/model/Model;
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Model.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 1
start local 1 3: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.receiver:Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
aload 1
invokevirtual com.sun.tools.internal.ws.wscompile.ErrorReceiver.error:(Ljava/lang/Exception;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
public void visit(com.sun.tools.internal.ws.processor.model.Model);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Model;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Model.getServices:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.sun.tools.internal.ws.processor.generator.GeneratorBase com.sun.tools.internal.ws.processor.model.Model top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.model.Service
astore 2
start local 2 2: aload 2
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Service.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 5 1 model Lcom/sun/tools/internal/ws/processor/model/Model;
2 3 2 service Lcom/sun/tools/internal/ws/processor/model/Service;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
model
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=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Service.getPorts:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.sun.tools.internal.ws.processor.generator.GeneratorBase com.sun.tools.internal.ws.processor.model.Service top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.model.Port
astore 2
start local 2 2: aload 2
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Port.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 5 1 service Lcom/sun/tools/internal/ws/processor/model/Service;
2 3 2 port Lcom/sun/tools/internal/ws/processor/model/Port;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
service
public void visit(com.sun.tools.internal.ws.processor.model.Port);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Port;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Port.getOperations:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.sun.tools.internal.ws.processor.generator.GeneratorBase com.sun.tools.internal.ws.processor.model.Port top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.model.Operation
astore 2
start local 2 2: aload 2
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Operation.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 5 1 port Lcom/sun/tools/internal/ws/processor/model/Port;
2 3 2 operation Lcom/sun/tools/internal/ws/processor/model/Operation;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
port
public void visit(com.sun.tools.internal.ws.processor.model.Operation);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Operation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Operation.getRequest:()Lcom/sun/tools/internal/ws/processor/model/Request;
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Request.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
1: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Operation.getResponse:()Lcom/sun/tools/internal/ws/processor/model/Response;
ifnull 3
2: aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Operation.getResponse:()Lcom/sun/tools/internal/ws/processor/model/Response;
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Response.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.tools.internal.ws.processor.model.Operation.getFaultsSet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 4: aload 2
ifnull 9
5: goto 8
6: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.ws.processor.model.Fault
astore 3
start local 3 7: aload 3
aload 0
invokevirtual com.sun.tools.internal.ws.processor.model.Fault.accept:(Lcom/sun/tools/internal/ws/processor/model/ModelVisitor;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 10 1 operation Lcom/sun/tools/internal/ws/processor/model/Operation;
4 10 2 faults Ljava/util/Iterator;
7 8 3 fault Lcom/sun/tools/internal/ws/processor/model/Fault;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
operation
public void visit(com.sun.tools.internal.ws.processor.model.Parameter);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Parameter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 1 1 param Lcom/sun/tools/internal/ws/processor/model/Parameter;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
param
public void visit(com.sun.tools.internal.ws.processor.model.Block);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Block;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 1 1 block Lcom/sun/tools/internal/ws/processor/model/Block;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
block
public void visit(com.sun.tools.internal.ws.processor.model.Response);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 1 1 response Lcom/sun/tools/internal/ws/processor/model/Response;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
response
public void visit(com.sun.tools.internal.ws.processor.model.Request);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Request;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 1 1 request Lcom/sun/tools/internal/ws/processor/model/Request;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
request
public void visit(com.sun.tools.internal.ws.processor.model.Fault);
descriptor: (Lcom/sun/tools/internal/ws/processor/model/Fault;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 1 1 fault Lcom/sun/tools/internal/ws/processor/model/Fault;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
fault
public java.util.List<java.lang.String> getJAXWSClassComment();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.targetVersion:Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.processor.generator.GeneratorBase.getJAXWSClassComment:(Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public static java.util.List<java.lang.String> getJAXWSClassComment(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
ldc "This class was generated by the JAX-WS RI.\n"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
new java.lang.StringBuilder
dup
getstatic com.sun.tools.internal.ws.ToolVersion.VERSION:Lcom/sun/xml/internal/ws/util/Version;
getfield com.sun.xml.internal.ws.util.Version.BUILD_VERSION:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
new java.lang.StringBuilder
dup
ldc "Generated source version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 targetVersion Ljava/lang/String;
1 5 1 comments Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
targetVersion
protected com.sun.codemodel.internal.JDefinedClass getClass(java.lang.String, com.sun.codemodel.internal.ClassType);
descriptor: (Ljava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.cm:Lcom/sun/codemodel/internal/JCodeModel;
aload 1
aload 2
invokevirtual com.sun.codemodel.internal.JCodeModel._class:(Ljava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
astore 3
start local 3 1: goto 6
end local 3 StackMap locals:
StackMap stack: com.sun.codemodel.internal.JClassAlreadyExistsException
2: astore 4
start local 4 3: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.cm:Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel._getClass:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: aload 4
athrow
end local 4 6: StackMap locals: com.sun.codemodel.internal.JDefinedClass
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 7 1 className Ljava/lang/String;
0 7 2 type Lcom/sun/codemodel/internal/ClassType;
1 2 3 cls Lcom/sun/codemodel/internal/JDefinedClass;
4 7 3 cls Lcom/sun/codemodel/internal/JDefinedClass;
3 6 4 e Lcom/sun/codemodel/internal/JClassAlreadyExistsException;
Exception table:
from to target type
0 1 2 Class com.sun.codemodel.internal.JClassAlreadyExistsException
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
className
type
protected void log(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.verbose:Z
ifeq 9
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
2: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.processor.generator.Names.stripQualifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 10 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
protected void writeHandlerConfig(java.lang.String, com.sun.codemodel.internal.JDefinedClass, com.sun.tools.internal.ws.wscompile.WsimportOptions);
descriptor: (Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.getHandlerChainConfiguration:()Lorg/w3c/dom/Element;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: return
3: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 2
aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.cm:Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/jws/HandlerChain;
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 5
start local 5 4: aload 4
5: ldc "http://java.sun.com/xml/ns/javaee"
ldc "handler-chain"
6: invokeinterface org.w3c.dom.Element.getElementsByTagNameNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
astore 6
start local 6 7: aload 6
invokeinterface org.w3c.dom.NodeList.getLength:()I
ifle 11
8: aload 0
aload 1
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorBase.getHandlerConfigFileName:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 9: aload 5
ldc "file"
aload 7
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
10: aload 0
aload 4
aload 1
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorBase.generateHandlerChainFile:(Lorg/w3c/dom/Element;Ljava/lang/String;)V
end local 7 11: StackMap locals: com.sun.codemodel.internal.JAnnotationUse org.w3c.dom.NodeList
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 12 1 className Ljava/lang/String;
0 12 2 cls Lcom/sun/codemodel/internal/JDefinedClass;
0 12 3 options Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
1 12 4 e Lorg/w3c/dom/Element;
4 12 5 handlerChainAnn Lcom/sun/codemodel/internal/JAnnotationUse;
7 12 6 nl Lorg/w3c/dom/NodeList;
9 11 7 fName Ljava/lang/String;
MethodParameters:
Name Flags
className
cls
options
private java.lang.String getHandlerConfigFileName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.tools.internal.ws.processor.generator.Names.stripQualifier:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_handler.xml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 2 1 fullName Ljava/lang/String;
1 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
fullName
private void generateHandlerChainFile(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
getfield com.sun.tools.internal.ws.wscompile.WsimportOptions.filer:Ljavax/annotation/processing/Filer;
astore 3
start local 3 1: aload 3
ifnull 8
2: aload 3
getstatic javax.tools.StandardLocation.SOURCE_OUTPUT:Ljavax/tools/StandardLocation;
3: aload 2
invokestatic com.sun.tools.internal.ws.processor.generator.Names.getPackageName:(Ljava/lang/String;)Ljava/lang/String;
aload 0
aload 2
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorBase.getHandlerConfigFileName:(Ljava/lang/String;)Ljava/lang/String;
iconst_0
anewarray javax.lang.model.element.Element
4: invokeinterface javax.annotation.processing.Filer.createResource:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/CharSequence;Ljava/lang/CharSequence;[Ljavax/lang/model/element/Element;)Ljavax/tools/FileObject;
astore 5
start local 5 5: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
new java.io.File
dup
aload 5
invokeinterface javax.tools.FileObject.toUri:()Ljava/net/URI;
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.addGeneratedFile:(Ljava/io/File;)V
6: new com.sun.tools.internal.ws.processor.util.IndentingWriter
dup
new java.io.OutputStreamWriter
dup
aload 5
invokeinterface javax.tools.FileObject.openOutputStream:()Ljava/io/OutputStream;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
invokespecial com.sun.tools.internal.ws.processor.util.IndentingWriter.<init>:(Ljava/io/Writer;)V
astore 4
start local 4 7: goto 13
end local 5 end local 4 8: StackMap locals: javax.annotation.processing.Filer
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.tools.internal.ws.processor.generator.GeneratorBase.getHandlerConfigFileName:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 9: aload 2
aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.destDir:Ljava/io/File;
invokestatic com.sun.tools.internal.ws.processor.util.DirectoryUtil.getOutputDirectoryFor:(Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
astore 7
start local 7 10: new java.io.File
dup
aload 7
aload 6
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 11: aload 0
getfield com.sun.tools.internal.ws.processor.generator.GeneratorBase.options:Lcom/sun/tools/internal/ws/wscompile/WsimportOptions;
aload 8
invokevirtual com.sun.tools.internal.ws.wscompile.WsimportOptions.addGeneratedFile:(Ljava/io/File;)V
12: new com.sun.tools.internal.ws.processor.util.IndentingWriter
dup
new java.io.OutputStreamWriter
dup
new java.io.FileOutputStream
dup
aload 8
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
invokespecial com.sun.tools.internal.ws.processor.util.IndentingWriter.<init>:(Ljava/io/Writer;)V
astore 4
end local 8 end local 7 end local 6 start local 4 13: StackMap locals: com.sun.tools.internal.ws.processor.util.IndentingWriter
StackMap stack:
invokestatic com.sun.xml.internal.ws.util.xml.XmlUtil.newTransformer:()Ljavax/xml/transform/Transformer;
astore 6
start local 6 14: aload 6
ldc "method"
ldc "xml"
invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
15: aload 6
ldc "indent"
ldc "yes"
invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
16: aload 6
17: ldc "{http://xml.apache.org/xslt}indent-amount"
18: ldc "2"
19: invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
20: aload 6
ldc "encoding"
ldc "UTF-8"
invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
21: aload 6
new javax.xml.transform.dom.DOMSource
dup
aload 1
invokespecial javax.xml.transform.dom.DOMSource.<init>:(Lorg/w3c/dom/Node;)V
new javax.xml.transform.stream.StreamResult
dup
aload 4
invokespecial javax.xml.transform.stream.StreamResult.<init>:(Ljava/io/Writer;)V
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
22: aload 4
invokevirtual com.sun.tools.internal.ws.processor.util.IndentingWriter.close:()V
end local 6 end local 4 23: goto 29
StackMap locals: com.sun.tools.internal.ws.processor.generator.GeneratorBase org.w3c.dom.Element java.lang.String javax.annotation.processing.Filer
StackMap stack: java.lang.Exception
24: astore 4
start local 4 25: new com.sun.tools.internal.ws.processor.generator.GeneratorException
dup
26: ldc "generator.nestedGeneratorError"
iconst_1
anewarray java.lang.Object
dup
iconst_0
27: aload 4
28: aastore
invokespecial com.sun.tools.internal.ws.processor.generator.GeneratorException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 29: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/tools/internal/ws/processor/generator/GeneratorBase;
0 30 1 hChains Lorg/w3c/dom/Element;
0 30 2 name Ljava/lang/String;
1 30 3 filer Ljavax/annotation/processing/Filer;
7 8 4 p Lcom/sun/tools/internal/ws/processor/util/IndentingWriter;
13 23 4 p Lcom/sun/tools/internal/ws/processor/util/IndentingWriter;
5 8 5 jfo Ljavax/tools/FileObject;
9 13 6 hcName Ljava/lang/String;
10 13 7 packageDir Ljava/io/File;
11 13 8 hcFile Ljava/io/File;
14 23 6 it Ljavax/xml/transform/Transformer;
25 29 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 23 24 Class java.lang.Exception
MethodParameters:
Name Flags
hChains
name
}
SourceFile: "GeneratorBase.java"
InnerClasses:
public final Target = com.sun.tools.internal.ws.wscompile.Options$Target of com.sun.tools.internal.ws.wscompile.Options
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager