final class com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl implements com.sun.tools.internal.xjc.api.S2JJAXBModel
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl
super_class: java.lang.Object
{
final com.sun.tools.internal.xjc.outline.Outline outline;
descriptor: Lcom/sun/tools/internal/xjc/outline/Outline;
flags: (0x0010) ACC_FINAL
private final com.sun.tools.internal.xjc.model.Model model;
descriptor: Lcom/sun/tools/internal/xjc/model/Model;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<javax.xml.namespace.QName, com.sun.tools.internal.xjc.api.Mapping> byXmlName;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljavax/xml/namespace/QName;Lcom/sun/tools/internal/xjc/api/Mapping;>;
void <init>(com.sun.tools.internal.xjc.outline.Outline);
descriptor: (Lcom/sun/tools/internal/xjc/outline/Outline;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.byXmlName:Ljava/util/Map;
2: aload 0
aload 1
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getModel:()Lcom/sun/tools/internal/xjc/model/Model;
putfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.model:Lcom/sun/tools/internal/xjc/model/Model;
3: aload 0
aload 1
putfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.outline:Lcom/sun/tools/internal/xjc/outline/Outline;
4: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.model:Lcom/sun/tools/internal/xjc/model/Model;
invokevirtual com.sun.tools.internal.xjc.model.Model.beans:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl com.sun.tools.internal.xjc.outline.Outline top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.model.CClassInfo
astore 2
start local 2 6: aload 2
invokevirtual com.sun.tools.internal.xjc.model.CClassInfo.isElement:()Z
ifne 8
7: goto 9
8: StackMap locals: com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl com.sun.tools.internal.xjc.outline.Outline com.sun.tools.internal.xjc.model.CClassInfo java.util.Iterator
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.byXmlName:Ljava/util/Map;
aload 2
invokevirtual com.sun.tools.internal.xjc.model.CClassInfo.getElementName:()Ljavax/xml/namespace/QName;
new com.sun.tools.internal.xjc.api.impl.s2j.BeanMappingImpl
dup
aload 0
aload 2
invokespecial com.sun.tools.internal.xjc.api.impl.s2j.BeanMappingImpl.<init>:(Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;Lcom/sun/tools/internal/xjc/model/CClassInfo;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 9: StackMap locals: com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl com.sun.tools.internal.xjc.outline.Outline top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.model:Lcom/sun/tools/internal/xjc/model/Model;
aconst_null
invokevirtual com.sun.tools.internal.xjc.model.Model.getElementMappings:(Lcom/sun/tools/internal/xjc/model/nav/NClass;)Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals:
StackMap stack:
11: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.model.CElementInfo
astore 2
start local 2 12: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.byXmlName:Ljava/util/Map;
aload 2
invokevirtual com.sun.tools.internal.xjc.model.CElementInfo.getElementName:()Ljavax/xml/namespace/QName;
new com.sun.tools.internal.xjc.api.impl.s2j.ElementMappingImpl
dup
aload 0
aload 2
invokespecial com.sun.tools.internal.xjc.api.impl.s2j.ElementMappingImpl.<init>:(Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;Lcom/sun/tools/internal/xjc/model/CElementInfo;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
0 15 1 outline Lcom/sun/tools/internal/xjc/outline/Outline;
6 9 2 ci Lcom/sun/tools/internal/xjc/model/CClassInfo;
12 13 2 ei Lcom/sun/tools/internal/xjc/model/CElementInfo;
MethodParameters:
Name Flags
outline
public com.sun.codemodel.internal.JCodeModel generateCode(com.sun.tools.internal.xjc.Plugin[], com.sun.tools.internal.xjc.api.ErrorListener);
descriptor: ([Lcom/sun/tools/internal/xjc/Plugin;Lcom/sun/tools/internal/xjc/api/ErrorListener;)Lcom/sun/codemodel/internal/JCodeModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.outline:Lcom/sun/tools/internal/xjc/outline/Outline;
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
0 1 1 extensions [Lcom/sun/tools/internal/xjc/Plugin;
0 1 2 errorListener Lcom/sun/tools/internal/xjc/api/ErrorListener;
MethodParameters:
Name Flags
extensions
errorListener
public java.util.List<com.sun.codemodel.internal.JClass> getAllObjectFactories();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, 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 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.outline:Lcom/sun/tools/internal/xjc/outline/Outline;
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getAllPackageContexts:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.PackageOutline
astore 2
start local 2 3: aload 1
aload 2
invokeinterface com.sun.tools.internal.xjc.outline.PackageOutline.objectFactory:()Lcom/sun/codemodel/internal/JDefinedClass;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
1 6 1 r Ljava/util/List<Lcom/sun/codemodel/internal/JClass;>;
3 4 2 pkg Lcom/sun/tools/internal/xjc/outline/PackageOutline;
Signature: ()Ljava/util/List<Lcom/sun/codemodel/internal/JClass;>;
public final com.sun.tools.internal.xjc.api.Mapping get(javax.xml.namespace.QName);
descriptor: (Ljavax/xml/namespace/QName;)Lcom/sun/tools/internal/xjc/api/Mapping;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.byXmlName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.api.Mapping
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
0 1 1 elementName Ljavax/xml/namespace/QName;
MethodParameters:
Name Flags
elementName
public final java.util.Collection<? extends com.sun.tools.internal.xjc.api.Mapping> getMappings();
descriptor: ()Ljava/util/Collection;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.byXmlName:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
Signature: ()Ljava/util/Collection<+Lcom/sun/tools/internal/xjc/api/Mapping;>;
public com.sun.tools.internal.xjc.api.TypeAndAnnotation getJavaType(javax.xml.namespace.QName);
descriptor: (Ljavax/xml/namespace/QName;)Lcom/sun/tools/internal/xjc/api/TypeAndAnnotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.model:Lcom/sun/tools/internal/xjc/model/Model;
invokevirtual com.sun.tools.internal.xjc.model.Model.typeUses:()Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.model.TypeUse
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
areturn
2: StackMap locals: com.sun.tools.internal.xjc.model.TypeUse
StackMap stack:
new com.sun.tools.internal.xjc.api.impl.s2j.TypeAndAnnotationImpl
dup
aload 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.outline:Lcom/sun/tools/internal/xjc/outline/Outline;
aload 2
invokespecial com.sun.tools.internal.xjc.api.impl.s2j.TypeAndAnnotationImpl.<init>:(Lcom/sun/tools/internal/xjc/outline/Outline;Lcom/sun/tools/internal/xjc/model/TypeUse;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
0 3 1 xmlTypeName Ljavax/xml/namespace/QName;
1 3 2 use Lcom/sun/tools/internal/xjc/model/TypeUse;
MethodParameters:
Name Flags
xmlTypeName
public final java.util.List<java.lang.String> getClassList();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, 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 0
getfield com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl.outline:Lcom/sun/tools/internal/xjc/outline/Outline;
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getAllPackageContexts:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.internal.xjc.api.impl.s2j.JAXBModelImpl java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.PackageOutline
astore 2
start local 2 3: aload 1
aload 2
invokeinterface com.sun.tools.internal.xjc.outline.PackageOutline.objectFactory:()Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.fullName:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl;
1 6 1 classList Ljava/util/List<Ljava/lang/String;>;
3 4 2 p Lcom/sun/tools/internal/xjc/outline/PackageOutline;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
}
SourceFile: "JAXBModelImpl.java"