final class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerFactory
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$org$springframework$jdbc$datasource$embedded$EmbeddedDatabaseType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseConfigurerFactory;
public static org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer getConfigurer(org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType);
descriptor: (Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseConfigurer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "EmbeddedDatabaseType is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: invokestatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerFactory.$SWITCH_TABLE$org$springframework$jdbc$datasource$embedded$EmbeddedDatabaseType:()[I
aload 0
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 4
3: 6
default: 8
}
2: StackMap locals:
StackMap stack:
invokestatic org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.getInstance:()Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
3: areturn
4: StackMap locals:
StackMap stack:
invokestatic org.springframework.jdbc.datasource.embedded.H2EmbeddedDatabaseConfigurer.getInstance:()Lorg/springframework/jdbc/datasource/embedded/H2EmbeddedDatabaseConfigurer;
5: areturn
6: StackMap locals:
StackMap stack:
invokestatic org.springframework.jdbc.datasource.embedded.DerbyEmbeddedDatabaseConfigurer.getInstance:()Lorg/springframework/jdbc/datasource/embedded/DerbyEmbeddedDatabaseConfigurer;
7: areturn
8: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Embedded database type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] is not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 10: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Driver for test database type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] is not available"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 type Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;
10 11 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 3 9 Class java.lang.ClassNotFoundException
4 5 9 Class java.lang.ClassNotFoundException
6 7 9 Class java.lang.ClassNotFoundException
8 9 9 Class java.lang.ClassNotFoundException
1 3 9 Class java.lang.NoClassDefFoundError
4 5 9 Class java.lang.NoClassDefFoundError
6 7 9 Class java.lang.NoClassDefFoundError
8 9 9 Class java.lang.NoClassDefFoundError
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
type
static int[] $SWITCH_TABLE$org$springframework$jdbc$datasource$embedded$EmbeddedDatabaseType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerFactory.$SWITCH_TABLE$org$springframework$jdbc$datasource$embedded$EmbeddedDatabaseType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.values:()[Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.DERBY:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.H2:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.HSQL:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerFactory.$SWITCH_TABLE$org$springframework$jdbc$datasource$embedded$EmbeddedDatabaseType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "EmbeddedDatabaseConfigurerFactory.java"