public class io.dropwizard.testing.junit.DAOTestRule extends org.junit.rules.ExternalResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.testing.junit.DAOTestRule
super_class: org.junit.rules.ExternalResource
{
private final io.dropwizard.testing.common.DAOTest daoTest;
descriptor: Lio/dropwizard/testing/common/DAOTest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static io.dropwizard.testing.junit.DAOTestRule$Builder newBuilder();
descriptor: ()Lio/dropwizard/testing/junit/DAOTestRule$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.dropwizard.testing.junit.DAOTestRule$Builder
dup
invokespecial io.dropwizard.testing.junit.DAOTestRule$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>(io.dropwizard.testing.common.DAOTest);
descriptor: (Lio/dropwizard/testing/common/DAOTest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.junit.rules.ExternalResource.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.testing.junit.DAOTestRule.daoTest:Lio/dropwizard/testing/common/DAOTest;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/testing/junit/DAOTestRule;
0 3 1 daoTest Lio/dropwizard/testing/common/DAOTest;
MethodParameters:
Name Flags
daoTest
protected void before();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.testing.junit.DAOTestRule.daoTest:Lio/dropwizard/testing/common/DAOTest;
invokevirtual io.dropwizard.testing.common.DAOTest.before:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/testing/junit/DAOTestRule;
Exceptions:
throws java.lang.Throwable
protected void after();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.testing.junit.DAOTestRule.daoTest:Lio/dropwizard/testing/common/DAOTest;
invokevirtual io.dropwizard.testing.common.DAOTest.after:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/testing/junit/DAOTestRule;
public SessionFactory getSessionFactory();
descriptor: ()LSessionFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tSessionFactory cannot be resolved to a type\n\tThe method getSessionFactory() from the type DAOTest refers to the missing type SessionFactory\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/testing/junit/DAOTestRule;
public <T> T inTransaction(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.testing.junit.DAOTestRule.daoTest:Lio/dropwizard/testing/common/DAOTest;
aload 1
invokevirtual io.dropwizard.testing.common.DAOTest.inTransaction:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/testing/junit/DAOTestRule;
0 1 1 call Ljava/util/concurrent/Callable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;)TT;
MethodParameters:
Name Flags
call
public void inTransaction(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.testing.junit.DAOTestRule.daoTest:Lio/dropwizard/testing/common/DAOTest;
aload 1
invokevirtual io.dropwizard.testing.common.DAOTest.inTransaction:(Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/testing/junit/DAOTestRule;
0 2 1 action Ljava/lang/Runnable;
MethodParameters:
Name Flags
action
}
SourceFile: "DAOTestRule.java"
NestMembers:
io.dropwizard.testing.junit.DAOTestRule$Builder
InnerClasses:
public Builder = io.dropwizard.testing.junit.DAOTestRule$Builder of io.dropwizard.testing.junit.DAOTestRule