com.zaxxer.hikari.util.JavassistProxyFactory.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HikariCP Show documentation
Show all versions of HikariCP Show documentation
Ultimate JDBC Connection Pool
???? 4?
? ? ?
? ? ?
? ? ?
N ?
?
? ? ? ? ?
N ?
? ? ? ? ? ? ?
N
?
?
/ ?
/
/
!"#$%&
'()
*
+,
A-
./0
E ?
1
234
5367879:
;
<3=
>?
@
ABC
DEFGH
I ?J
K LM
N
OP
dQ
R
STUV
j ?
W
XY4YZ[
N\
]^
_`
u ?
Na3b
Nc
Nd
?e
f
g
hi
?jklmnopqrs tu vu wu xu yu zu {u |u }u
N~ classPool Ljavassist/ClassPool; genDirectory Ljava/lang/String; ()V Code LineNumberTable LocalVariableTable this .Lcom/zaxxer/hikari/util/JavassistProxyFactory; main ([Ljava/lang/String;)V args [Ljava/lang/String;
methodBody
StackMapTable
Exceptions? modifyProxyFactory method Ljavassist/CtMethod; packageName proxyCt Ljavassist/CtClass;?????? generateProxyClass 8(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V signature modifiedBody superMethod
intfMethod intfCt intf Ljava/lang/Class; primaryInterface superClassName newClassName superCt targetCt superSigs Ljava/util/Set; methods LocalVariableTypeTable Ljava/lang/Class<*>; Ljava/lang/Class; #Ljava/util/Set;:?? Signature S(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V isThrowsSqlException (Ljavassist/CtMethod;)Z clazz?U isDefaultMethod ((Ljava/lang/Class;Ljavassist/CtMethod;)Z pt
paramTypes Ljava/util/List; &Ljava/util/List;>;? +(Ljava/lang/Class<*>;Ljavassist/CtMethod;)Z getAllInterfaces "(Ljava/lang/Class;)Ljava/util/Set;
interfaces %Ljava/util/Set;>; ;(Ljava/lang/Class<*>;)Ljava/util/Set;>; toJavaClass &(Ljavassist/CtClass;)Ljava/lang/Class; cls )(Ljavassist/CtClass;)Ljava/lang/Class<*>; %(Ljava/lang/String;)Ljava/lang/Class; cn ((Ljava/lang/String;)Ljava/lang/Class<*>;
SourceFile JavassistProxyFactory.java ? ? javassist/ClassPool ? ? java.sql?? javassist/LoaderClassPath ,com/zaxxer/hikari/util/JavassistProxyFactory?? ???? ? ? [{ try { return delegate.method($$); } catch (SQLException e) { throw checkException(e); } } java/sql/Connection &com/zaxxer/hikari/pool/ProxyConnection?? ? ? java/sql/Statement %com/zaxxer/hikari/pool/ProxyStatement java/sql/ResultSet %com/zaxxer/hikari/pool/ProxyResultSet java/sql/DatabaseMetaData ,com/zaxxer/hikari/pool/ProxyDatabaseMetaData d{ try { return ((cast) delegate).method($$); } catch (SQLException e) { throw checkException(e); } } java/sql/PreparedStatement -com/zaxxer/hikari/pool/ProxyPreparedStatement java/sql/CallableStatement -com/zaxxer/hikari/pool/ProxyCallableStatement ? ???? AGenerating method bodies for com.zaxxer.hikari.proxy.ProxyFactory?????? #com.zaxxer.hikari.pool.ProxyFactory????????? getProxyConnection?? getProxyStatement getProxyPreparedStatement getProxyCallableStatement getProxyResultSet getProxyDatabaseMetaData java/lang/StringBuilder {return new ?? .HikariProxyConnection($$);}???? .HikariProxyStatement($$);} #.HikariProxyPreparedStatement($$);} #.HikariProxyCallableStatement($$);} .HikariProxyResultSet($$);} ".HikariProxyDatabaseMetaData($$);} target/classes?? (.+)\.(\w+) $1.Hikari$2???? javassist/Modifier???? Generating java/util/HashSet??????? ? ???????? java/lang/Class??????????? ? ? ((cast) ?? delegate super super) cast ? ? ({ return ((cast) delegate).method($$); }??? ? return???? javassist/bytecode/ClassFile?????? SQLException javassist/NotFoundException java/util/ArrayList?? ? ???? [Ljava/lang/Class;??? default ?? java/util/LinkedHashSet???????? []?? ? ?????? int long short byte float double boolean char void?? ?????????? ? java/lang/Object java/lang/Exception java/lang/String javassist/CtClass [Ljavassist/CtMethod; javassist/CtMethod javassist/CannotCompileException java/io/IOException
java/util/Set java/util/Iterator [Ljavassist/CtClass; java/util/List
importPackage (Ljava/lang/String;)V getClassLoader ()Ljava/lang/ClassLoader; (Ljava/lang/ClassLoader;)V appendClassPath ,(Ljavassist/ClassPath;)Ljavassist/ClassPath; getName ()Ljava/lang/String; java/lang/System out Ljava/io/PrintStream; java/io/PrintStream println
getPackage ()Ljava/lang/Package; java/lang/Package
getCtClass '(Ljava/lang/String;)Ljavassist/CtClass;
getMethods ()[Ljavassist/CtMethod; hashCode ()I equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString setBody writeFile
replaceAll 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; makeClass :(Ljava/lang/String;Ljavassist/CtClass;)Ljavassist/CtClass; setPublic (I)I setModifiers (I)V getModifiers getSignature add iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; addInterface (Ljavassist/CtClass;)V getDeclaredMethods contains javassist/CtNewMethod copy Q(Ljavassist/CtMethod;Ljavassist/CtClass;Ljavassist/ClassMap;)Ljavassist/CtMethod; getMethod :(Ljava/lang/String;Ljava/lang/String;)Ljavassist/CtMethod; replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
getReturnType ()Ljavassist/CtClass; voidType addMethod (Ljavassist/CtMethod;)V getClassFile ()Ljavassist/bytecode/ClassFile; setMajorVersion getExceptionTypes ()[Ljavassist/CtClass;
getSimpleName getParameterTypes toArray (([Ljava/lang/Object;)[Ljava/lang/Object; getDeclaredMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/reflect/Method (Ljava/lang/CharSequence;)Z
getInterfaces ()[Ljava/lang/Class; addAll (Ljava/util/Collection;)Z
getSuperclass ()Ljava/lang/Class; isInterface endsWith (Ljava/lang/String;)Z java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; getClass java/lang/Integer TYPE java/lang/Long java/lang/Short java/lang/Byte java/lang/Float java/lang/Double java/lang/Boolean java/lang/Character java/lang/Void forName 1 ?
? ?
? ?
? ? ? / *? ? ? ) ? ? ? ? ? ? ? ? |? Y? ? ? ? ? ? Y? ?
? W*?? *2?
L? +? ? +? ? +? ? +? L? +? ? +? ? ? ? > /
0 1 % 3 * 4 0 8 3 9 > : I ; T <