All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zaxxer.hikari.util.JavassistProxyFactory.class Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta2
Show newest version
????4?,com/zaxxer/hikari/util/JavassistProxyFactoryjava/lang/ObjectJavassistProxyFactory.java	classPoolLjavassist/ClassPool;genDirectoryLjava/lang/String;()V

this.Lcom/zaxxer/hikari/util/JavassistProxyFactory;main([Ljava/lang/String;)Vjava/lang/Exceptionjavassist/ClassPool
	java.sql
importPackage(Ljava/lang/String;)V
javassist/LoaderClassPathjava/lang/Class!getClassLoader()Ljava/lang/ClassLoader;#$
"%(Ljava/lang/ClassLoader;)V
'
 (appendClassPath,(Ljavassist/ClassPath;)Ljavassist/ClassPath;*+
,		.[{ try { return delegate.method($$); } catch (SQLException e) { throw checkException(e); } }0java/sql/Connection2&com/zaxxer/hikari/pool/ProxyConnection4getName()Ljava/lang/String;67
"8generateProxyClass8(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V:;
<java/sql/Statement>%com/zaxxer/hikari/pool/ProxyStatement@java/sql/ResultSetB%com/zaxxer/hikari/pool/ProxyResultSetDjava/sql/DatabaseMetaDataF,com/zaxxer/hikari/pool/ProxyDatabaseMetaDataHd{ try { return ((cast) delegate).method($$); } catch (SQLException e) { throw checkException(e); } }Jjava/sql/PreparedStatementL-com/zaxxer/hikari/pool/ProxyPreparedStatementNjava/sql/CallableStatementP-com/zaxxer/hikari/pool/ProxyCallableStatementRmodifyProxyFactoryT
Uargs[Ljava/lang/String;
methodBodyjavassist/NotFoundExceptionZ javassist/CannotCompileException\java/io/IOException^java/lang/System`outLjava/io/PrintStream;bc	adAGenerating method bodies for com.zaxxer.hikari.proxy.ProxyFactoryfjava/io/PrintStreamhprintlnj
ik
getPackage()Ljava/lang/Package;mn
"ojava/lang/Packageq
r8#com.zaxxer.hikari.pool.ProxyFactoryt
getCtClass'(Ljava/lang/String;)Ljavassist/CtClass;vw
xjavassist/CtClassz
getMethods()[Ljavassist/CtMethod;|}
{~java/lang/String?[Ljavassist/CtMethod;?javassist/CtMethod?
?8hashCode()I??
??getProxyConnection?equals(Ljava/lang/Object;)Z??
??getProxyStatement?getProxyPreparedStatement?getProxyCallableStatement?getProxyResultSet?getProxyDatabaseMetaData?java/lang/StringBuilder?
?{return new ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??.HikariProxyConnection($$);}?toString?7
??setBody?
??.HikariProxyStatement($$);}?#.HikariProxyPreparedStatement($$);}?#.HikariProxyCallableStatement($$);}?.HikariProxyResultSet($$);}?".HikariProxyDatabaseMetaData($$);}?target/classes?	writeFile?
{?methodLjavassist/CtMethod;packageNameproxyCtLjavassist/CtClass;S(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V(.+)\.(\w+)?$1.Hikari$2?
replaceAll8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??
??	makeClass:(Ljava/lang/String;Ljavassist/CtClass;)Ljavassist/CtClass;??
?javassist/Modifier?	setPublic(I)I??
??setModifiers(I)V??
{?Generating ?java/util/HashSet?
?
java/util/Set?getModifiers??
??getSignature?7
??add????getAllInterfaces"(Ljava/lang/Class;)Ljava/util/Set;??
?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????addInterface(Ljavassist/CtClass;)V??
{?getDeclaredMethods?}
{?contains??javassist/CtNewMethodcopyQ(Ljavassist/CtMethod;Ljavassist/CtClass;Ljavassist/ClassMap;)Ljavassist/CtMethod;
	getMethod:(Ljava/lang/String;Ljava/lang/String;)Ljavassist/CtMethod;	

{isDefaultMethod((Ljava/lang/Class;Ljavassist/CtMethod;)Z

((cast) replaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
?delegatesupersuper)castisThrowsSqlException(Ljavassist/CtMethod;)Z!"
#?({ return ((cast) delegate).method($$); }&
getReturnType()Ljavassist/CtClass;()
?*voidType,?	{-return/	addMethod(Ljavassist/CtMethod;)V12
{3getClassFile ()Ljavassist/bytecode/ClassFile;56
{7javassist/bytecode/ClassFile9setMajorVersion;?
:<	signaturemodifiedBodysuperMethod
intfMethodintfCtintfLjava/lang/Class<*>;Ljava/lang/Class;primaryInterfaceLjava/lang/Class;superClassNamenewClassNamesuperCttargetCt	superSigs#Ljava/util/Set;Ljava/util/Set;methodsgetExceptionTypes()[Ljavassist/CtClass;PQ
?R[Ljavassist/CtClass;T
getSimpleNameV7
{WSQLExceptionYclazz+(Ljava/lang/Class<*>;Ljavassist/CtMethod;)Zjava/util/ArrayList]
^getParameterTypes`Q
?ajava/util/ListctoJavaClass&(Ljavassist/CtClass;)Ljava/lang/Class;ef
gd?toArray(([Ljava/lang/Object;)[Ljava/lang/Object;jkdl[Ljava/lang/Class;ngetDeclaredMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;pq
"rjava/lang/reflect/Methodt
u?default w(Ljava/lang/CharSequence;)Zy
?zpt
paramTypes&Ljava/util/List;>;Ljava/util/List;;(Ljava/lang/Class<*>;)Ljava/util/Set;>;java/util/LinkedHashSet?
?
getInterfaces()[Ljava/lang/Class;??
"?addAll(Ljava/util/Collection;)Z????
getSuperclass()Ljava/lang/Class;??
"?isInterface??
"?
interfaces%Ljava/util/Set;>;)(Ljavassist/CtClass;)Ljava/lang/Class<*>;
{8[]?endsWith(Ljava/lang/String;)Z??
??%(Ljava/lang/String;)Ljava/lang/Class;e?
?java/lang/reflect/Array?newInstance&(Ljava/lang/Class;I)Ljava/lang/Object;??
??getClass??
?cls((Ljava/lang/String;)Ljava/lang/Class<*>;int?long?short?byte?float?double?boolean?char?void?java/lang/Integer?TYPE?E	??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??
"?cnCodeLineNumberTableLocalVariableTable
StackMapTable
ExceptionsLocalVariableTypeTable	Signature
SourceFile1

	

?/*?
??)????|?Y?????? Y?&?)?-W*??	*2?/1L35?9+?=?A?9+?=CE?9+?=GI?9+?=KLMO?9+?=QS?9+?=?V??0?>/
01%3*40839>:I;T<_?b@mAxC{D?|WX3IY	?
T???eg?l5?p?sK?u?yL+?M,?>6??,2:??:6?????'?L??-|?=?lV????w?E?<??\????V6?P????F6?@????66?0????&6? ????6?????6??%Ee?????Y?????*?????????????Y?????*?????????????Y?????*??????????c??Y?????*??????????C??Y?????*??????????#??Y?????*?????????????b+??Y???/???????????0?%?{??V??&???RGIJK1LNO Q=R@T]U`W}X?Z?[?]?^?K?e?f? 1?????	????[]_
:;??.+?Ķ?N?+?y:?-??:?Ҷֲe??Y??ض?-?????l??Y??:?:?66		??	2:

??~?%??Y??
????
???????W?	?????Y??:*???:???S???":	?	?9?y:

??
??:?66

?
2:??Y???????????:??????????W?:,:????:??~?4	??*?:?:?: *?9?:?$?%???:?'%??? *?9?:?+?.?0?:???4?
??????84?=??Y???/?????????????X
"???{{??	D???G??	X?@??
A??4B?
?ACE	.FE.H	.Y		%I	J?K?I?LN??ON?*?ACD	.FGI?LM??OM???
!"??0*?SL+?=>?+2:?XZ????????L?#-[$*-[??
U?B[???"?$?*?-?.??[?0??

??R?^Y?_M+?bN-?66?-2:,?h?iW????*+??,?"?m?o?s?vx?{???"?dU????!?-?3??*!|?RCERA?J}?RCDJ}~??\
???$i??Y??L*??M,?>6?-,2:????+???W+??W????*???+*?????W*???+*??W+??)?"?o? "?"??.???(?4?=?C?J?X?_?g?? CEi[Ea?N? CDi[Da????
ef?h-*??????*???????????*??????%??
?%??-?????
e???A*L=+????	??{????T.a?.?V?2?|c7Q???l(??"\???|r+?????=?{+????q=?l+????b=?]+????S=?N+????D=??+????5=?0+????&=? +????=?+????=?X48<@DHLPT????İ?ǰ?ʰ?Ͱ?а?Ӱ?ְ?ٰ*?ܰ??\?4?.??? ?$?(?,?0?48<?A?	??????/??,?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy