Home
last modified time | relevance | path

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

/external/mockito/src/org/mockito/internal/util/reflection/
DFieldInitializationReport.java12 private Object fieldInstance; field in FieldInitializationReport
16 …public FieldInitializationReport(Object fieldInstance, boolean wasInitialized, boolean wasInitiali… in FieldInitializationReport() argument
17 this.fieldInstance = fieldInstance; in FieldInitializationReport()
27 public Object fieldInstance() { in fieldInstance() method in FieldInitializationReport
28 return fieldInstance; in fieldInstance()
55 return fieldInstance != null ? fieldInstance.getClass() : null; in fieldClass()
DFieldInitializer.java118 Object fieldInstance = field.get(fieldOwner); in acquireFieldInstance() local
119 if(fieldInstance != null) { in acquireFieldInstance()
120 return new FieldInitializationReport(fieldInstance, false, false); in acquireFieldInstance()
/external/mockito/src/org/mockito/internal/configuration/injection/filter/
DNameBasedCandidateFilter.java22 …blic OngoingInjecter filterCandidate(Collection<Object> mocks, Field field, Object fieldInstance) { in filterCandidate() argument
30 return next.filterCandidate(mockNameMatches, field, fieldInstance); in filterCandidate()
32 return next.filterCandidate(mocks, field, fieldInstance); in filterCandidate()
DFinalMockCandidateFilter.java23 …er filterCandidate(final Collection<Object> mocks, final Field field, final Object fieldInstance) { in filterCandidate() argument
30 if (!new BeanPropertySetter(fieldInstance, field).set(matchingMock)) { in filterCandidate()
31 new FieldSetter(fieldInstance, field).set(matchingMock); in filterCandidate()
DTypeBasedCandidateFilter.java20 …blic OngoingInjecter filterCandidate(Collection<Object> mocks, Field field, Object fieldInstance) { in filterCandidate() argument
28 return next.filterCandidate(mockTypeMatches, field, fieldInstance); in filterCandidate()
DMockCandidateFilter.java15 Object fieldInstance in filterCandidate() argument
/external/mockito/src/org/mockito/internal/configuration/
DSpyAnnotationEngine.java54 instance = report.fieldInstance(); in process()
/external/mockito/src/org/mockito/internal/configuration/injection/
DPropertyAndSetterInjection.java78 Object fieldInstanceNeedingInjection = report.fieldInstance(); in processInjection()