public class org.hibernate.boot.xsd.ConfigXsdSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.boot.xsd.ConfigXsdSupport
super_class: java.lang.Object
{
private static final org.jboss.logging.Logger log;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.hibernate.boot.xsd.ConfigXsdSupport INSTANCE;
descriptor: Lorg/hibernate/boot/xsd/ConfigXsdSupport;
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 cfgXml;
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: ldc Lorg/hibernate/boot/xsd/ConfigXsdSupport;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.boot.xsd.ConfigXsdSupport.log:Lorg/jboss/logging/Logger;
1: new org.hibernate.boot.xsd.ConfigXsdSupport
dup
invokespecial org.hibernate.boot.xsd.ConfigXsdSupport.<init>:()V
putstatic org.hibernate.boot.xsd.ConfigXsdSupport.INSTANCE:Lorg/hibernate/boot/xsd/ConfigXsdSupport;
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/persistence_1_0.xsd"
3: ldc "1.0"
4: ldc "http://java.sun.com/xml/ns/persistence"
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.ConfigXsdSupport.jpa10:Lorg/hibernate/boot/xsd/XsdDescriptor;
6: aload 0
7: ldc "org/hibernate/jpa/persistence_2_0.xsd"
8: ldc "2.0"
9: ldc "http://java.sun.com/xml/ns/persistence"
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.ConfigXsdSupport.jpa20:Lorg/hibernate/boot/xsd/XsdDescriptor;
11: aload 0
12: ldc "org/hibernate/jpa/persistence_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.ConfigXsdSupport.jpa21:Lorg/hibernate/boot/xsd/XsdDescriptor;
16: aload 0
17: ldc "org/hibernate/jpa/persistence_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.ConfigXsdSupport.jpa22:Lorg/hibernate/boot/xsd/XsdDescriptor;
21: aload 0
22: ldc "org/hibernate/xsd/cfg/legacy-configuration-4.0.xsd"
23: ldc "4.0"
24: ldc "http://www.hibernate.org/xsd/orm/cfg"
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.ConfigXsdSupport.cfgXml:Lorg/hibernate/boot/xsd/XsdDescriptor;
26: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/hibernate/boot/xsd/ConfigXsdSupport;
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.ConfigXsdSupport.jpa22:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/boot/xsd/ConfigXsdSupport;
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.ConfigXsdSupport.jpa10:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.ConfigXsdSupport.jpa20:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.ConfigXsdSupport.jpa21:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.boot.xsd.ConfigXsdSupport.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 persistence.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/ConfigXsdSupport;
0 10 1 version Ljava/lang/String;
MethodParameters:
Name Flags
version
public org.hibernate.boot.xsd.XsdDescriptor cfgXsd();
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.ConfigXsdSupport.cfgXml:Lorg/hibernate/boot/xsd/XsdDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/boot/xsd/ConfigXsdSupport;
}
SourceFile: "ConfigXsdSupport.java"