public class org.hibernate.engine.jdbc.ClobProxy implements java.lang.reflect.InvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.jdbc.ClobProxy
super_class: java.lang.Object
{
private static final java.lang.Class[] PROXY_INTERFACES;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.engine.jdbc.CharacterStream characterStream;
descriptor: Lorg/hibernate/engine/jdbc/CharacterStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean needsReset;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/sql/Clob;
aastore
dup
iconst_1
ldc Lorg/hibernate/engine/jdbc/ClobImplementer;
aastore
putstatic org.hibernate.engine.jdbc.ClobProxy.PROXY_INTERFACES:[Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.hibernate.engine.jdbc.internal.CharacterStreamImpl
dup
aload 1
invokespecial org.hibernate.engine.jdbc.internal.CharacterStreamImpl.<init>:(Ljava/lang/String;)V
putfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
0 3 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
protected void <init>(java.io.Reader, long);
descriptor: (Ljava/io/Reader;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, 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 org.hibernate.engine.jdbc.internal.CharacterStreamImpl
dup
aload 1
lload 2
invokespecial org.hibernate.engine.jdbc.internal.CharacterStreamImpl.<init>:(Ljava/io/Reader;J)V
putfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
0 3 1 reader Ljava/io/Reader;
0 3 2 length J
MethodParameters:
Name Flags
reader
length
protected long getLength();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
invokeinterface org.hibernate.engine.jdbc.CharacterStream.getLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
protected java.io.InputStream getAsciiStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.hibernate.engine.jdbc.ReaderInputStream
dup
aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getCharacterStream:()Ljava/io/Reader;
invokespecial org.hibernate.engine.jdbc.ReaderInputStream.<init>:(Ljava/io/Reader;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
Exceptions:
throws java.sql.SQLException
protected java.io.Reader getCharacterStream();
descriptor: ()Ljava/io/Reader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getUnderlyingStream:()Lorg/hibernate/engine/jdbc/CharacterStream;
invokeinterface org.hibernate.engine.jdbc.CharacterStream.asReader:()Ljava/io/Reader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
Exceptions:
throws java.sql.SQLException
protected org.hibernate.engine.jdbc.CharacterStream getUnderlyingStream();
descriptor: ()Lorg/hibernate/engine/jdbc/CharacterStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.resetIfNeeded:()V
1: aload 0
getfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
Exceptions:
throws java.sql.SQLException
protected java.lang.String getSubString(long, int);
descriptor: (JI)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
invokeinterface org.hibernate.engine.jdbc.CharacterStream.asString:()Ljava/lang/String;
astore 4
start local 4 1: lload 1
l2i
iload 3
iadd
aload 4
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 2: aload 4
lload 1
l2i
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
0 3 1 start J
0 3 3 length I
1 3 4 string Ljava/lang/String;
2 3 5 endIndex I
MethodParameters:
Name Flags
start
length
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 4
start local 4 1: aload 2
invokevirtual java.lang.reflect.Method.getParameterCount:()I
istore 5
start local 5 2: ldc "length"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iload 5
ifne 4
3: aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getLength:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
4: StackMap locals: java.lang.String int
StackMap stack:
ldc "getUnderlyingStream"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getUnderlyingStream:()Lorg/hibernate/engine/jdbc/CharacterStream;
areturn
6: StackMap locals:
StackMap stack:
ldc "getAsciiStream"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
iload 5
ifne 8
7: aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getAsciiStream:()Ljava/io/InputStream;
areturn
8: StackMap locals:
StackMap stack:
ldc "getCharacterStream"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
9: iload 5
ifne 11
10: aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getCharacterStream:()Ljava/io/Reader;
areturn
11: StackMap locals:
StackMap stack:
iload 5
iconst_2
if_icmpne 21
12: aload 3
iconst_0
aaload
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
start local 6 13: lload 6
lconst_1
lcmp
ifge 15
14: new java.sql.SQLException
dup
ldc "Start position 1-based; must be 1 or more."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: long
StackMap stack:
lload 6
aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getLength:()J
lcmp
ifle 17
16: new java.sql.SQLException
dup
new java.lang.StringBuilder
dup
ldc "Start position ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 6
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "] cannot exceed overall CLOB length ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getLength:()J
invokevirtual java.lang.StringBuilder.append:(J)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.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 3
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 18: iload 8
ifge 20
19: new java.sql.SQLException
dup
ldc "Length must be great-than-or-equal to zero."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getCharacterStream:()Ljava/io/Reader;
lload 6
lconst_1
lsub
iload 8
invokestatic org.hibernate.type.descriptor.java.DataHelper.subStream:(Ljava/io/Reader;JI)Ljava/lang/Object;
areturn
end local 8 end local 6 21: StackMap locals:
StackMap stack:
ldc "getSubString"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
iload 5
iconst_2
if_icmpne 31
22: aload 3
iconst_0
aaload
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
start local 6 23: lload 6
lconst_1
lcmp
ifge 25
24: new java.sql.SQLException
dup
ldc "Start position 1-based; must be 1 or more."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals: long
StackMap stack:
lload 6
aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getLength:()J
lcmp
ifle 27
26: new java.sql.SQLException
dup
new java.lang.StringBuilder
dup
ldc "Start position ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 6
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "] cannot exceed overall CLOB length ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getLength:()J
invokevirtual java.lang.StringBuilder.append:(J)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.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 3
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 28: iload 8
ifge 30
29: new java.sql.SQLException
dup
ldc "Length must be great-than-or-equal to zero."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals: int
StackMap stack:
aload 0
lload 6
lconst_1
lsub
iload 8
invokevirtual org.hibernate.engine.jdbc.ClobProxy.getSubString:(JI)Ljava/lang/String;
areturn
end local 8 end local 6 31: StackMap locals:
StackMap stack:
ldc "free"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
iload 5
ifne 34
32: aload 0
getfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
invokeinterface org.hibernate.engine.jdbc.CharacterStream.release:()V
33: aconst_null
areturn
34: StackMap locals:
StackMap stack:
ldc "toString"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
iload 5
ifne 36
35: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
36: StackMap locals:
StackMap stack:
ldc "equals"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
iload 5
iconst_1
if_icmpne 39
37: aload 1
aload 3
iconst_0
aaload
if_acmpne 38
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
38: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
39: StackMap locals:
StackMap stack:
ldc "hashCode"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 41
iload 5
ifne 41
40: aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
41: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Clob may not be manipulated from creating session"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
0 42 1 proxy Ljava/lang/Object;
0 42 2 method Ljava/lang/reflect/Method;
0 42 3 args [Ljava/lang/Object;
1 42 4 methodName Ljava/lang/String;
2 42 5 argCount I
13 21 6 start J
18 21 8 length I
23 31 6 start J
28 31 8 length I
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
method
args
protected void resetIfNeeded();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.ClobProxy.needsReset:Z
ifeq 5
1: aload 0
getfield org.hibernate.engine.jdbc.ClobProxy.characterStream:Lorg/hibernate/engine/jdbc/CharacterStream;
invokeinterface org.hibernate.engine.jdbc.CharacterStream.asReader:()Ljava/io/Reader;
invokevirtual java.io.Reader.reset:()V
2: goto 5
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: new java.sql.SQLException
dup
ldc "could not reset reader"
aload 1
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.hibernate.engine.jdbc.ClobProxy.needsReset:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/engine/jdbc/ClobProxy;
4 5 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws java.sql.SQLException
public static java.sql.Clob generateProxy(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/sql/Clob;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic org.hibernate.engine.jdbc.ClobProxy.getProxyClassLoader:()Ljava/lang/ClassLoader;
getstatic org.hibernate.engine.jdbc.ClobProxy.PROXY_INTERFACES:[Ljava/lang/Class;
new org.hibernate.engine.jdbc.ClobProxy
dup
aload 0
invokespecial org.hibernate.engine.jdbc.ClobProxy.<init>:(Ljava/lang/String;)V
invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast java.sql.Clob
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 string Ljava/lang/String;
MethodParameters:
Name Flags
string
public static java.sql.Clob generateProxy(java.io.Reader, long);
descriptor: (Ljava/io/Reader;J)Ljava/sql/Clob;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.hibernate.engine.jdbc.ClobProxy.getProxyClassLoader:()Ljava/lang/ClassLoader;
getstatic org.hibernate.engine.jdbc.ClobProxy.PROXY_INTERFACES:[Ljava/lang/Class;
new org.hibernate.engine.jdbc.ClobProxy
dup
aload 0
lload 1
invokespecial org.hibernate.engine.jdbc.ClobProxy.<init>:(Ljava/io/Reader;J)V
invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast java.sql.Clob
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 reader Ljava/io/Reader;
0 1 1 length J
MethodParameters:
Name Flags
reader
length
protected static java.lang.ClassLoader getProxyClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/engine/jdbc/ClobImplementer;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ClobProxy.java"