Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DMockMethodDispatcher.java12 public abstract class MockMethodDispatcher { class
14 …static final ConcurrentMap<String, MockMethodDispatcher> INSTANCE = new ConcurrentHashMap<String,
16 public static MockMethodDispatcher get(String identifier, Object mock) { in get()
24 public static void set(String identifier, MockMethodDispatcher dispatcher) { in set()
DMockMethodAdvice.java36 public class MockMethodAdvice extends MockMethodDispatcher {
58 MockMethodDispatcher dispatcher = MockMethodDispatcher.get(identifier, mock); in enter()
201MockMethodDispatcher mockMethodDispatcher = MockMethodDispatcher.get(identifier, instanceRef.get()… in invoke()
282 MockMethodDispatcher dispatcher = MockMethodDispatcher.get(id, self); in enter()
303 MockMethodDispatcher dispatcher = MockMethodDispatcher.get(identifier, self); in enter()
326 … MockMethodAdvice mockMethodAdvice = (MockMethodAdvice) MockMethodDispatcher.get(identifier, thiz); in doReadObject()
DInlineBytecodeGenerator.java101 MockMethodDispatcher.set(identifier, new MockMethodAdvice(mocks, identifier)); in InlineBytecodeGenerator()
/external/dexmaker/dexmaker-mockito-inline-dispatcher/src/main/java/com/android/dx/mockito/inline/
DMockMethodDispatcher.java29 public class MockMethodDispatcher { class
34 private static final ConcurrentMap<String, MockMethodDispatcher> INSTANCE =
45 public static MockMethodDispatcher get(String identifier, Object instance) { in get()
59 private MockMethodDispatcher(Object advice) { in MockMethodDispatcher() method in MockMethodDispatcher
70 INSTANCE.putIfAbsent(identifier, new MockMethodDispatcher(advice)); in set()