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/mockito/src/main/java/org/mockito/internal/configuration/injection/
DPropertyAndSetterInjection.java105 …private boolean injectMockCandidates(Class<?> awaitingInjectionClazz, Object injectee, Set<Object>… in injectMockCandidates() argument
109 …injectionOccurred = injectMockCandidatesOnFields(mocks, injectee, false, orderedCandidateInjecteeF… in injectMockCandidates()
111 …injectionOccurred |= injectMockCandidatesOnFields(mocks, injectee, injectionOccurred, orderedCandi… in injectMockCandidates()
116 Object injectee, in injectMockCandidatesOnFields() argument
121 …ockCandidateFilter.filterCandidate(mocks, candidateField, orderedCandidateInjecteeFields, injectee) in injectMockCandidatesOnFields()
/external/guice/core/test/com/google/inject/
DTypeListenerTest.java68 public void afterInjection(Object injectee) {
122 public void afterInjection(Object injectee) { in testInstallingInjectionListener()
123 injectees.add(injectee); in testInstallingInjectionListener()
360 public void afterInjection(A injectee) {
362 assertNotNull(injectee.injector);
424 public void afterInjection(Object injectee) {
513 public void afterInjection(D injectee) {
514 assertTrue(injectee.userInjected > 0);
515 injectee.listenersNotified++;
516 assertEquals(injectee.guiceInjected, injectee.listenersNotified);
[all …]
/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