Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitoutil/
DClassLoaders.java328 private Map<String, byte[]> inMemoryClassObjects = new HashMap<String, byte[]>(); field in ClassLoaders.InMemoryClassLoaderBuilder
336 inMemoryClassObjects.put(name, classDefinition); in withClassDefinition()
341 return new InMemoryClassLoader(parent, inMemoryClassObjects); in build()
347 private Map<String, byte[]> inMemoryClassObjects = new HashMap<String, byte[]>(); field in ClassLoaders.InMemoryClassLoader
349 public InMemoryClassLoader(ClassLoader parent, Map<String, byte[]> inMemoryClassObjects) { in InMemoryClassLoader() argument
351 this.inMemoryClassObjects = inMemoryClassObjects; in InMemoryClassLoader()
355 byte[] classDefinition = inMemoryClassObjects.get(name); in findClass()
368 final Set<String> names = inMemoryClassObjects.keySet(); in inMemoryOnly()
416 … return new ByteArrayInputStream(inMemoryClassLoader.inMemoryClassObjects.get(qualifiedName)); in getInputStream()