abstract class org.skife.jdbi.v2.BaseStatement
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.skife.jdbi.v2.BaseStatement
super_class: java.lang.Object
{
private final java.util.Collection<org.skife.jdbi.v2.tweak.StatementCustomizer> customizers;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Lorg/skife/jdbi/v2/tweak/StatementCustomizer;>;
private final org.skife.jdbi.v2.ConcreteStatementContext context;
descriptor: Lorg/skife/jdbi/v2/ConcreteStatementContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.skife.jdbi.v2.Foreman foreman;
descriptor: Lorg/skife/jdbi/v2/Foreman;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(org.skife.jdbi.v2.ConcreteStatementContext, org.skife.jdbi.v2.Foreman);
descriptor: (Lorg/skife/jdbi/v2/ConcreteStatementContext;Lorg/skife/jdbi/v2/Foreman;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
2: aload 0
aload 1
putfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
3: aload 0
aload 2
invokevirtual org.skife.jdbi.v2.Foreman.createChild:()Lorg/skife/jdbi/v2/Foreman;
putfield org.skife.jdbi.v2.BaseStatement.foreman:Lorg/skife/jdbi/v2/Foreman;
4: aload 0
new org.skife.jdbi.v2.BaseStatement$StatementCleaningCustomizer
dup
aload 0
invokespecial org.skife.jdbi.v2.BaseStatement$StatementCleaningCustomizer.<init>:(Lorg/skife/jdbi/v2/BaseStatement;)V
invokevirtual org.skife.jdbi.v2.BaseStatement.addCustomizer:(Lorg/skife/jdbi/v2/tweak/StatementCustomizer;)V
5: aload 1
aload 2
invokevirtual org.skife.jdbi.v2.ConcreteStatementContext.setForeman:(Lorg/skife/jdbi/v2/Foreman;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/skife/jdbi/v2/BaseStatement;
0 7 1 context Lorg/skife/jdbi/v2/ConcreteStatementContext;
0 7 2 foreman Lorg/skife/jdbi/v2/Foreman;
MethodParameters:
Name Flags
context final
foreman
protected final org.skife.jdbi.v2.Foreman getForeman();
descriptor: ()Lorg/skife/jdbi/v2/Foreman;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.foreman:Lorg/skife/jdbi/v2/Foreman;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/skife/jdbi/v2/BaseStatement;
protected final org.skife.jdbi.v2.ConcreteStatementContext getConcreteContext();
descriptor: ()Lorg/skife/jdbi/v2/ConcreteStatementContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/skife/jdbi/v2/BaseStatement;
public final org.skife.jdbi.v2.StatementContext getContext();
descriptor: ()Lorg/skife/jdbi/v2/StatementContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/skife/jdbi/v2/BaseStatement;
protected void addCustomizers(java.util.Collection<org.skife.jdbi.v2.tweak.StatementCustomizer>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/skife/jdbi/v2/BaseStatement;
0 2 1 customizers Ljava/util/Collection<Lorg/skife/jdbi/v2/tweak/StatementCustomizer;>;
Signature: (Ljava/util/Collection<Lorg/skife/jdbi/v2/tweak/StatementCustomizer;>;)V
MethodParameters:
Name Flags
customizers final
protected void addCustomizer(org.skife.jdbi.v2.tweak.StatementCustomizer);
descriptor: (Lorg/skife/jdbi/v2/tweak/StatementCustomizer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/skife/jdbi/v2/BaseStatement;
0 2 1 customizer Lorg/skife/jdbi/v2/tweak/StatementCustomizer;
MethodParameters:
Name Flags
customizer final
protected java.util.Collection<org.skife.jdbi.v2.tweak.StatementCustomizer> getStatementCustomizers();
descriptor: ()Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/skife/jdbi/v2/BaseStatement;
Signature: ()Ljava/util/Collection<Lorg/skife/jdbi/v2/tweak/StatementCustomizer;>;
protected final void beforeExecution(java.sql.PreparedStatement);
descriptor: (Ljava/sql/PreparedStatement;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.skife.jdbi.v2.BaseStatement java.sql.PreparedStatement top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.skife.jdbi.v2.tweak.StatementCustomizer
astore 2
start local 2 2: aload 2
aload 1
aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokeinterface org.skife.jdbi.v2.tweak.StatementCustomizer.beforeExecution:(Ljava/sql/PreparedStatement;Lorg/skife/jdbi/v2/StatementContext;)V
3: goto 6
4: StackMap locals: org.skife.jdbi.v2.BaseStatement java.sql.PreparedStatement org.skife.jdbi.v2.tweak.StatementCustomizer java.util.Iterator
StackMap stack: java.sql.SQLException
astore 4
start local 4 5: new org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException
dup
ldc "Exception thrown in statement customization"
aload 4
aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokespecial org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/skife/jdbi/v2/StatementContext;)V
athrow
end local 4 end local 2 6: StackMap locals: org.skife.jdbi.v2.BaseStatement java.sql.PreparedStatement top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/skife/jdbi/v2/BaseStatement;
0 8 1 stmt Ljava/sql/PreparedStatement;
2 6 2 customizer Lorg/skife/jdbi/v2/tweak/StatementCustomizer;
5 6 4 e Ljava/sql/SQLException;
Exception table:
from to target type
2 3 4 Class java.sql.SQLException
MethodParameters:
Name Flags
stmt final
protected final void afterExecution(java.sql.PreparedStatement);
descriptor: (Ljava/sql/PreparedStatement;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.skife.jdbi.v2.BaseStatement java.sql.PreparedStatement top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.skife.jdbi.v2.tweak.StatementCustomizer
astore 2
start local 2 2: aload 2
aload 1
aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokeinterface org.skife.jdbi.v2.tweak.StatementCustomizer.afterExecution:(Ljava/sql/PreparedStatement;Lorg/skife/jdbi/v2/StatementContext;)V
3: goto 6
4: StackMap locals: org.skife.jdbi.v2.BaseStatement java.sql.PreparedStatement org.skife.jdbi.v2.tweak.StatementCustomizer java.util.Iterator
StackMap stack: java.sql.SQLException
astore 4
start local 4 5: new org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException
dup
ldc "Exception thrown in statement customization"
aload 4
aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokespecial org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/skife/jdbi/v2/StatementContext;)V
athrow
end local 4 end local 2 6: StackMap locals: org.skife.jdbi.v2.BaseStatement java.sql.PreparedStatement top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/skife/jdbi/v2/BaseStatement;
0 8 1 stmt Ljava/sql/PreparedStatement;
2 6 2 customizer Lorg/skife/jdbi/v2/tweak/StatementCustomizer;
5 6 4 e Ljava/sql/SQLException;
Exception table:
from to target type
2 3 4 Class java.sql.SQLException
MethodParameters:
Name Flags
stmt final
protected final void cleanup();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.customizers:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.skife.jdbi.v2.BaseStatement top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.skife.jdbi.v2.tweak.StatementCustomizer
astore 1
start local 1 2: aload 1
aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokeinterface org.skife.jdbi.v2.tweak.StatementCustomizer.cleanup:(Lorg/skife/jdbi/v2/StatementContext;)V
3: goto 6
4: StackMap locals: org.skife.jdbi.v2.BaseStatement org.skife.jdbi.v2.tweak.StatementCustomizer java.util.Iterator
StackMap stack: java.sql.SQLException
astore 3
start local 3 5: new org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException
dup
ldc "Could not clean up"
aload 3
aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokespecial org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/skife/jdbi/v2/StatementContext;)V
athrow
end local 3 end local 1 6: StackMap locals: org.skife.jdbi.v2.BaseStatement top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/skife/jdbi/v2/BaseStatement;
2 6 1 customizer Lorg/skife/jdbi/v2/tweak/StatementCustomizer;
5 6 3 e Ljava/sql/SQLException;
Exception table:
from to target type
2 3 4 Class java.sql.SQLException
protected void addCleanable(org.skife.jdbi.v2.Cleanable);
descriptor: (Lorg/skife/jdbi/v2/Cleanable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.skife.jdbi.v2.BaseStatement.context:Lorg/skife/jdbi/v2/ConcreteStatementContext;
invokevirtual org.skife.jdbi.v2.ConcreteStatementContext.getCleanables:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/skife/jdbi/v2/BaseStatement;
0 2 1 cleanable Lorg/skife/jdbi/v2/Cleanable;
MethodParameters:
Name Flags
cleanable final
}
SourceFile: "BaseStatement.java"
NestMembers:
org.skife.jdbi.v2.BaseStatement$StatementCleaningCustomizer
InnerClasses:
StatementCleaningCustomizer = org.skife.jdbi.v2.BaseStatement$StatementCleaningCustomizer of org.skife.jdbi.v2.BaseStatement