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.java324 private Map<String, byte[]> inMemoryClassObjects = new HashMap<String, byte[]>(); field in ClassLoaders.InMemoryClassLoaderBuilder
332 inMemoryClassObjects.put(name, classDefinition); in withClassDefinition()
337 return new InMemoryClassLoader(parent, inMemoryClassObjects); in build()
343 private Map<String, byte[]> inMemoryClassObjects = new HashMap<String, byte[]>(); field in ClassLoaders.InMemoryClassLoader
345 public InMemoryClassLoader(ClassLoader parent, Map<String, byte[]> inMemoryClassObjects) { in InMemoryClassLoader() argument
347 this.inMemoryClassObjects = inMemoryClassObjects; in InMemoryClassLoader()
351 byte[] classDefinition = inMemoryClassObjects.get(name); in findClass()
364 final Set<String> names = inMemoryClassObjects.keySet(); in inMemoryOnly()
412 … return new ByteArrayInputStream(inMemoryClassLoader.inMemoryClassObjects.get(qualifiedName)); in getInputStream()