public class org.hibernate.boot.xsd.MappingXsdSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.boot.xsd.MappingXsdSupport
super_class: java.lang.Object
{
public static final org.hibernate.boot.xsd.MappingXsdSupport INSTANCE;
descriptor: Lorg/hibernate/boot/xsd/MappingXsdSupport;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.hibernate.boot.xsd.XsdDescriptor jpa10;
descriptor: Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.boot.xsd.XsdDescriptor jpa20;
descriptor: Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.boot.xsd.XsdDescriptor jpa21;
descriptor: Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.boot.xsd.XsdDescriptor jpa22;
descriptor: Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.boot.xsd.XsdDescriptor hbmXml;
descriptor: Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.boot.xsd.MappingXsdSupport
dup
invokespecial org.hibernate.boot.xsd.MappingXsdSupport.<init>:()V
putstatic org.hibernate.boot.xsd.MappingXsdSupport.INSTANCE:Lorg/hibernate/boot/xsd/MappingXsdSupport;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: ldc "org/hibernate/jpa/orm_1_0.xsd"
3: ldc "1.0"
4: ldc "http://java.sun.com/xml/ns/persistence/orm"
5: invokestatic org.hibernate.boot.xsd.LocalXsdResolver.buildXsdDescriptor:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/boot/xsd/XsdDescriptor;
putfield org.hibernate.boot.xsd.MappingXsdSupport.jpa10:Lorg/hibernate/boot/xsd/XsdDescriptor;
6: aload 0
7: ldc "org/hibernate/jpa/orm_2_0.xsd"
8: ldc "2.0"
9: ldc "http://java.sun.com/xml/ns/persistence/orm"
10: invokestatic org.hibernate.boot.xsd.LocalXsdResolver.buildXsdDescriptor:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/boot/xsd/XsdDescriptor;
putfield org.hibernate.boot.xsd.MappingXsdSupport.jpa20:Lorg/hibernate/boot/xsd/XsdDescriptor;
11: aload 0
12: ldc "org/hibernate/jpa/orm_2_1.xsd"
13: ldc "2.1"
14: ldc "http://xmlns.jcp.org/xml/ns/persistence"
15: invokestatic org.hibernate.boot.xsd.LocalXsdResolver.buildXsdDescriptor:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/boot/xsd/XsdDescriptor;
putfield org.hibernate.boot.xsd.MappingXsdSupport.jpa21:Lorg/hibernate/boot/xsd/XsdDescriptor;
16: aload 0
17: ldc "org/hibernate/jpa/orm_2_2.xsd"
18: ldc "2.2"
19: ldc "http://xmlns.jcp.org/xml/ns/persistence"
20: invokestatic org.hibernate.boot.xsd.LocalXsdResolver.buildXsdDescriptor:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/boot/xsd/XsdDescriptor;
putfield org.hibernate.boot.xsd.MappingXsdSupport.jpa22:Lorg/hibernate/boot/xsd/XsdDescriptor;
21: aload 0
22: ldc "org/hibernate/xsd/mapping/legacy-mapping-4.0.xsd"
23: ldc "4.0"
24: ldc "http://www.hibernate.org/xsd/orm/hbm"
25: invokestatic org.hibernate.boot.xsd.LocalXsdResolver.buildXsdDescriptor:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/boot/xsd/XsdDescriptor;
putfield org.hibernate.boot.xsd.MappingXsdSupport.hbmXml:Lorg/hibernate/boot/xsd/XsdDescriptor;
26: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/hibernate/boot/xsd/MappingXsdSupport;
public org.hibernate.boot.xsd.XsdDescriptor latestJpaDescriptor();
descriptor: ()Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.boot.xsd.MappingXsdSupport.jpa22:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/boot/xsd/MappingXsdSupport;
public org.hibernate.boot.xsd.XsdDescriptor jpaXsd(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
48563: 1
49524: 2
49525: 3
49526: 4
default: 9
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "1.0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 9
StackMap locals:
StackMap stack:
2: aload 2
ldc "2.0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 9
StackMap locals:
StackMap stack:
3: aload 2
ldc "2.1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 9
StackMap locals:
StackMap stack:
4: aload 2
ldc "2.2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.MappingXsdSupport.jpa10:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.MappingXsdSupport.jpa20:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.MappingXsdSupport.jpa21:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.MappingXsdSupport.jpa22:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized JPA orm.xml XSD version : `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/boot/xsd/MappingXsdSupport;
0 10 1 version Ljava/lang/String;
MethodParameters:
Name Flags
version
public org.hibernate.boot.xsd.XsdDescriptor hbmXsd();
descriptor: ()Lorg/hibernate/boot/xsd/XsdDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.boot.xsd.MappingXsdSupport.hbmXml:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/boot/xsd/MappingXsdSupport;
}
SourceFile: "MappingXsdSupport.java"