Searched refs:callbackTypes (Results 1 – 3 of 3) sorted by relevance
126 Type[] callbackTypes, in newInstance() argument135 private Type[] callbackTypes; field in Enhancer268 public void setCallbackTypes(Class[] callbackTypes) { in setCallbackTypes() argument269 if (callbackTypes != null && callbackTypes.length == 0) { in setCallbackTypes()272 this.callbackTypes = CallbackInfo.determineTypes(callbackTypes); in setCallbackTypes()335 if (classOnly && (callbackTypes == null)) { in validate()338 if (callbacks != null && callbackTypes != null) { in validate()339 if (callbacks.length != callbackTypes.length) { in validate()344 if (!check[i].equals(callbackTypes[i])) { in validate()345 …ow new IllegalStateException("Callback " + check[i] + " is not assignable to " + callbackTypes[i]); in validate()[all …]
22 public static Type[] determineTypes(Class[] callbackTypes) { in determineTypes() argument23 Type[] types = new Type[callbackTypes.length]; in determineTypes()25 types[i] = determineType(callbackTypes[i]); in determineTypes()38 public static CallbackGenerator[] getGenerators(Type[] callbackTypes) { in getGenerators() argument39 CallbackGenerator[] generators = new CallbackGenerator[callbackTypes.length]; in getGenerators()41 generators[i] = getGenerator(callbackTypes[i]); in getGenerators()
163 Class<? extends Callback>[] callbackTypes = new Class[callbacks.length]; in create() local166 callbackTypes[i] = net.sf.cglib.proxy.NoOp.class; in create()168 callbackTypes[i] = net.sf.cglib.proxy.MethodInterceptor.class; in create()177 enhancer.setCallbackTypes(callbackTypes); in create()