1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
| package com.eitan.proxy.cglib;
import java.lang.reflect.Method; import org.springframework.cglib.core.ReflectUtils; import org.springframework.cglib.core.Signature; import org.springframework.cglib.proxy.Callback; import org.springframework.cglib.proxy.Factory; import org.springframework.cglib.proxy.MethodInterceptor; import org.springframework.cglib.proxy.MethodProxy;
public class Calculator$$EnhancerByCGLIB$$345a285a extends Calculator implements Factory { private boolean CGLIB$BOUND; public static Object CGLIB$FACTORY_DATA; private static final ThreadLocal CGLIB$THREAD_CALLBACKS; private static final Callback[] CGLIB$STATIC_CALLBACKS; private MethodInterceptor CGLIB$CALLBACK_0; private static Object CGLIB$CALLBACK_FILTER; private static final Method CGLIB$add$0$Method; private static final MethodProxy CGLIB$add$0$Proxy; private static final Object[] CGLIB$emptyArgs; private static final Method CGLIB$sub$1$Method; private static final MethodProxy CGLIB$sub$1$Proxy; private static final Method CGLIB$mult$2$Method; private static final MethodProxy CGLIB$mult$2$Proxy; private static final Method CGLIB$div$3$Method; private static final MethodProxy CGLIB$div$3$Proxy; private static final Method CGLIB$equals$4$Method; private static final MethodProxy CGLIB$equals$4$Proxy; private static final Method CGLIB$toString$5$Method; private static final MethodProxy CGLIB$toString$5$Proxy; private static final Method CGLIB$hashCode$6$Method; private static final MethodProxy CGLIB$hashCode$6$Proxy; private static final Method CGLIB$clone$7$Method; private static final MethodProxy CGLIB$clone$7$Proxy;
static void CGLIB$STATICHOOK1() { CGLIB$THREAD_CALLBACKS = new ThreadLocal(); CGLIB$emptyArgs = new Object[0]; Class var0 = Class.forName("com.eitan.proxy.cglib.Calculator$$EnhancerByCGLIB$$345a285a"); Class var1; Method[] var10000 = ReflectUtils.findMethods(new String[]{"add", "(II)I", "sub", "(II)I", "mult", "(II)I", "div", "(II)I"}, (var1 = Class.forName("com.eitan.proxy.cglib.Calculator")).getDeclaredMethods()); CGLIB$add$0$Method = var10000[0]; CGLIB$add$0$Proxy = MethodProxy.create(var1, var0, "(II)I", "add", "CGLIB$add$0"); CGLIB$sub$1$Method = var10000[1]; CGLIB$sub$1$Proxy = MethodProxy.create(var1, var0, "(II)I", "sub", "CGLIB$sub$1"); CGLIB$mult$2$Method = var10000[2]; CGLIB$mult$2$Proxy = MethodProxy.create(var1, var0, "(II)I", "mult", "CGLIB$mult$2"); CGLIB$div$3$Method = var10000[3]; CGLIB$div$3$Proxy = MethodProxy.create(var1, var0, "(II)I", "div", "CGLIB$div$3"); var10000 = ReflectUtils.findMethods(new String[]{"equals", "(Ljava/lang/Object;)Z", "toString", "()Ljava/lang/String;", "hashCode", "()I", "clone", "()Ljava/lang/Object;"}, (var1 = Class.forName("java.lang.Object")).getDeclaredMethods()); CGLIB$equals$4$Method = var10000[0]; CGLIB$equals$4$Proxy = MethodProxy.create(var1, var0, "(Ljava/lang/Object;)Z", "equals", "CGLIB$equals$4"); CGLIB$toString$5$Method = var10000[1]; CGLIB$toString$5$Proxy = MethodProxy.create(var1, var0, "()Ljava/lang/String;", "toString", "CGLIB$toString$5"); CGLIB$hashCode$6$Method = var10000[2]; CGLIB$hashCode$6$Proxy = MethodProxy.create(var1, var0, "()I", "hashCode", "CGLIB$hashCode$6"); CGLIB$clone$7$Method = var10000[3]; CGLIB$clone$7$Proxy = MethodProxy.create(var1, var0, "()Ljava/lang/Object;", "clone", "CGLIB$clone$7"); }
final int CGLIB$add$0(int var1, int var2) { return super.add(var1, var2); }
public final int add(int var1, int var2) { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
if (var10000 != null) { Object var3 = var10000.intercept(this, CGLIB$add$0$Method, new Object[]{new Integer(var1), new Integer(var2)}, CGLIB$add$0$Proxy); return var3 == null ? 0 : ((Number)var3).intValue(); } else { return super.add(var1, var2); } }
final int CGLIB$sub$1(int var1, int var2) { return super.sub(var1, var2); }
public final int sub(int var1, int var2) { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
if (var10000 != null) { Object var3 = var10000.intercept(this, CGLIB$sub$1$Method, new Object[]{new Integer(var1), new Integer(var2)}, CGLIB$sub$1$Proxy); return var3 == null ? 0 : ((Number)var3).intValue(); } else { return super.sub(var1, var2); } }
final int CGLIB$mult$2(int var1, int var2) { return super.mult(var1, var2); }
public final int mult(int var1, int var2) { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
if (var10000 != null) { Object var3 = var10000.intercept(this, CGLIB$mult$2$Method, new Object[]{new Integer(var1), new Integer(var2)}, CGLIB$mult$2$Proxy); return var3 == null ? 0 : ((Number)var3).intValue(); } else { return super.mult(var1, var2); } }
final int CGLIB$div$3(int var1, int var2) { return super.div(var1, var2); }
public final int div(int var1, int var2) { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
if (var10000 != null) { Object var3 = var10000.intercept(this, CGLIB$div$3$Method, new Object[]{new Integer(var1), new Integer(var2)}, CGLIB$div$3$Proxy); return var3 == null ? 0 : ((Number)var3).intValue(); } else { return super.div(var1, var2); } }
final boolean CGLIB$equals$4(Object var1) { return super.equals(var1); }
public final boolean equals(Object var1) { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
if (var10000 != null) { Object var2 = var10000.intercept(this, CGLIB$equals$4$Method, new Object[]{var1}, CGLIB$equals$4$Proxy); return var2 == null ? false : (Boolean)var2; } else { return super.equals(var1); } }
final String CGLIB$toString$5() { return super.toString(); }
public final String toString() { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
return var10000 != null ? (String)var10000.intercept(this, CGLIB$toString$5$Method, CGLIB$emptyArgs, CGLIB$toString$5$Proxy) : super.toString(); }
final int CGLIB$hashCode$6() { return super.hashCode(); }
public final int hashCode() { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
if (var10000 != null) { Object var1 = var10000.intercept(this, CGLIB$hashCode$6$Method, CGLIB$emptyArgs, CGLIB$hashCode$6$Proxy); return var1 == null ? 0 : ((Number)var1).intValue(); } else { return super.hashCode(); } }
final Object CGLIB$clone$7() throws CloneNotSupportedException { return super.clone(); }
protected final Object clone() throws CloneNotSupportedException { MethodInterceptor var10000 = this.CGLIB$CALLBACK_0; if (var10000 == null) { CGLIB$BIND_CALLBACKS(this); var10000 = this.CGLIB$CALLBACK_0; }
return var10000 != null ? var10000.intercept(this, CGLIB$clone$7$Method, CGLIB$emptyArgs, CGLIB$clone$7$Proxy) : super.clone(); }
public static MethodProxy CGLIB$findMethodProxy(Signature var0) { String var10000 = var0.toString(); switch(var10000.hashCode()) { case -2131682232: if (var10000.equals("sub(II)I")) { return CGLIB$sub$1$Proxy; } break; case -1287932281: if (var10000.equals("add(II)I")) { return CGLIB$add$0$Proxy; } break; case -1267343528: if (var10000.equals("mult(II)I")) { return CGLIB$mult$2$Proxy; } break; case -508378822: if (var10000.equals("clone()Ljava/lang/Object;")) { return CGLIB$clone$7$Proxy; } break; case 303407255: if (var10000.equals("div(II)I")) { return CGLIB$div$3$Proxy; } break; case 1826985398: if (var10000.equals("equals(Ljava/lang/Object;)Z")) { return CGLIB$equals$4$Proxy; } break; case 1913648695: if (var10000.equals("toString()Ljava/lang/String;")) { return CGLIB$toString$5$Proxy; } break; case 1984935277: if (var10000.equals("hashCode()I")) { return CGLIB$hashCode$6$Proxy; } }
return null; }
public Calculator$$EnhancerByCGLIB$$345a285a() { CGLIB$BIND_CALLBACKS(this); }
public static void CGLIB$SET_THREAD_CALLBACKS(Callback[] var0) { CGLIB$THREAD_CALLBACKS.set(var0); }
public static void CGLIB$SET_STATIC_CALLBACKS(Callback[] var0) { CGLIB$STATIC_CALLBACKS = var0; }
private static final void CGLIB$BIND_CALLBACKS(Object var0) { Calculator$$EnhancerByCGLIB$$345a285a var1 = (Calculator$$EnhancerByCGLIB$$345a285a)var0; if (!var1.CGLIB$BOUND) { var1.CGLIB$BOUND = true; Object var10000 = CGLIB$THREAD_CALLBACKS.get(); if (var10000 == null) { var10000 = CGLIB$STATIC_CALLBACKS; if (var10000 == null) { return; } }
var1.CGLIB$CALLBACK_0 = (MethodInterceptor)((Callback[])var10000)[0]; }
}
public Object newInstance(Callback[] var1) { CGLIB$SET_THREAD_CALLBACKS(var1); Calculator$$EnhancerByCGLIB$$345a285a var10000 = new Calculator$$EnhancerByCGLIB$$345a285a(); CGLIB$SET_THREAD_CALLBACKS((Callback[])null); return var10000; }
public Object newInstance(Callback var1) { CGLIB$SET_THREAD_CALLBACKS(new Callback[]{var1}); Calculator$$EnhancerByCGLIB$$345a285a var10000 = new Calculator$$EnhancerByCGLIB$$345a285a(); CGLIB$SET_THREAD_CALLBACKS((Callback[])null); return var10000; }
public Object newInstance(Class[] var1, Object[] var2, Callback[] var3) { CGLIB$SET_THREAD_CALLBACKS(var3); Calculator$$EnhancerByCGLIB$$345a285a var10000 = new Calculator$$EnhancerByCGLIB$$345a285a; switch(var1.length) { case 0: var10000.<init>(); CGLIB$SET_THREAD_CALLBACKS((Callback[])null); return var10000; default: throw new IllegalArgumentException("Constructor not found"); } }
public Callback getCallback(int var1) { CGLIB$BIND_CALLBACKS(this); MethodInterceptor var10000; switch(var1) { case 0: var10000 = this.CGLIB$CALLBACK_0; break; default: var10000 = null; }
return var10000; }
public void setCallback(int var1, Callback var2) { switch(var1) { case 0: this.CGLIB$CALLBACK_0 = (MethodInterceptor)var2; default: } }
public Callback[] getCallbacks() { CGLIB$BIND_CALLBACKS(this); return new Callback[]{this.CGLIB$CALLBACK_0}; }
public void setCallbacks(Callback[] var1) { this.CGLIB$CALLBACK_0 = (MethodInterceptor)var1[0]; }
static { CGLIB$STATICHOOK1(); } }
|