Home
last modified time | relevance | path

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

/external/caliper/caliper/src/main/java/com/google/caliper/options/
DCommandLineParser.java133 private T injectee; field in CommandLineParser
153 public void parseAndInject(String[] args, T injectee) throws InvalidCommandException { in parseAndInject() argument
154 this.injectee = injectee; in parseAndInject()
174 pi.injectableOption.inject(pi.value, injectee); in parseAndInject()
178 invokeMethod(injectee, injectionMap.leftoversMethod, leftovers); in parseAndInject()
185 abstract void inject(String valueText, Object injectee) throws InvalidCommandException; in inject() argument
199 @Override void inject(String valueText, Object injectee) throws DisplayUsageException { in forClass()
291 @Override void inject(String valueText, Object injectee) throws InvalidCommandException { in inject() argument
294 field.set(injectee, value); in inject()
334 @Override void inject(String valueText, Object injectee) throws InvalidCommandException { in inject() argument
[all …]
/external/guice/core/test/com/google/inject/
DTypeListenerTest.java66 public void afterInjection(Object injectee) {
110 public void afterInjection(Object injectee) { in testInstallingInjectionListener()
111 injectees.add(injectee); in testInstallingInjectionListener()
310 public void afterInjection(A injectee) {
312 assertNotNull(injectee.injector);
367 public void afterInjection(Object injectee) {
440 public void afterInjection(D injectee) {
441 assertTrue(injectee.userInjected > 0);
442 injectee.listenersNotified++;
443 assertEquals(injectee.guiceInjected, injectee.listenersNotified);
[all …]
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DPropertyAndSetterInjection.java106 …private boolean injectMockCandidates(Class<?> awaitingInjectionClazz, Object injectee, Set<Object>… in injectMockCandidates() argument
110 …injectionOccurred = injectMockCandidatesOnFields(mocks, injectee, false, orderedCandidateInjecteeF… in injectMockCandidates()
112 …injectionOccurred |= injectMockCandidatesOnFields(mocks, injectee, injectionOccurred, orderedCandi… in injectMockCandidates()
117 Object injectee, in injectMockCandidatesOnFields() argument
122 …ockCandidateFilter.filterCandidate(mocks, candidateField, orderedCandidateInjecteeFields, injectee) in injectMockCandidatesOnFields()
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/
DTerminalMockCandidateFilter.java28 final Object injectee) { in filterCandidate() argument
35 … if (!new BeanPropertySetter(injectee, candidateFieldToBeInjected).set(matchingMock)) { in filterCandidate()
36 setField(injectee, candidateFieldToBeInjected,matchingMock); in filterCandidate()
DTypeBasedCandidateFilter.java23 final Object injectee) { in filterCandidate() argument
31 …ilterCandidate(mockTypeMatches, candidateFieldToBeInjected, allRemainingCandidateFields, injectee); in filterCandidate()
DNameBasedCandidateFilter.java24 final Object injectee) { in filterCandidate() argument
33 injectee); in filterCandidate()
DMockCandidateFilter.java16 Object injectee in filterCandidate() argument
/external/guice/core/src/com/google/inject/spi/
DInjectionListener.java34 void afterInjection(I injectee); in afterInjection() argument