Searched refs:enhancer (Results 1 – 3 of 3) sorted by relevance
89 Enhancer enhancer = new Enhancer() { in createProxyClass() local96 enhancer.setClassLoader(SearchingClassLoader.combineLoadersOf(mockedType)); in createProxyClass()97 enhancer.setUseFactory(true); in createProxyClass()99 enhancer.setSuperclass(Object.class); in createProxyClass()100 enhancer.setInterfaces(prepend(mockedType, interfaces)); in createProxyClass()102 enhancer.setSuperclass(mockedType); in createProxyClass()103 enhancer.setInterfaces(interfaces); in createProxyClass()105 enhancer.setCallbackTypes(new Class[]{MethodInterceptor.class, NoOp.class}); in createProxyClass()106 enhancer.setCallbackFilter(IGNORE_BRIDGE_METHODS); in createProxyClass()108 … enhancer.setNamingPolicy(NAMING_POLICY_THAT_ALLOWS_IMPOSTERISATION_OF_CLASSES_IN_SIGNED_PACKAGES); in createProxyClass()[all …]
135 @ enhancer