Home
last modified time | relevance | path

Searched refs:useCache (Results 1 – 8 of 8) sorted by relevance

/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DAbstractClassGenerator.java45 private boolean useCache = true; field in AbstractClassGenerator
119 public void setUseCache(boolean useCache) {
120 this.useCache = useCache;
127 return useCache;
199 } else if (useCache) {
223 if (useCache) {
/external/objenesis/main/src/org/objenesis/
DObjenesisStd.java40 public ObjenesisStd(boolean useCache) { in ObjenesisStd() argument
41 super(new StdInstantiatorStrategy(), useCache); in ObjenesisStd()
DObjenesisSerializer.java40 public ObjenesisSerializer(boolean useCache) { in ObjenesisSerializer() argument
41 super(new SerializingInstantiatorStrategy(), useCache); in ObjenesisSerializer()
DObjenesisBase.java53 public ObjenesisBase(InstantiatorStrategy strategy, boolean useCache) { in ObjenesisBase() argument
58 this.cache = useCache ? new HashMap() : null; in ObjenesisBase()
/external/javassist/src/main/javassist/
DClassPool.java512 protected synchronized CtClass get0(String classname, boolean useCache) in get0() argument
516 if (useCache) { in get0()
523 clazz = parent.get0(classname, useCache); in get0()
528 clazz = createCtClass(classname, useCache); in get0()
531 if (useCache) in get0()
538 clazz = parent.get0(classname, useCache); in get0()
550 protected CtClass createCtClass(String classname, boolean useCache) { in createCtClass() argument
557 if ((!useCache || getCached(base) == null) && find(base) == null) in createCtClass()
/external/javassist/src/test/test/javassist/proxy/
DProxyCacheGCTest.java42 ProxyFactory.useCache = false; in testCacheGC()
53 ProxyFactory.useCache = true; in testCacheGC()
DProxyFactoryCompatibilityTest.java44 System.out.println("ProxyFactory.useCache = " + ProxyFactory.useCache); in testFactoryCompatibility()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java216 public static volatile boolean useCache = true; field in ProxyFactory
257 public void setUseCache(boolean useCache) in setUseCache() argument
261 if (handler != null && useCache) { in setUseCache()
264 factoryUseCache = useCache; in setUseCache()
342 factoryUseCache = useCache; in ProxyFactory()