FinalMockCandidateFilter
Date: 2015-09-18

org.mockito.internal.configuration.injection.filter

## Class FinalMockCandidateFilter

- java.lang.Object
- - org.mockito.internal.configuration.injection.filter.FinalMockCandidateFilter

- All Implemented Interfaces:
    MockCandidateFilter

      public class FinalMockCandidateFilter
      extends java.lang.Object
      implements MockCandidateFilter

  This node returns an actual injecter which will be either :
  - an `OngoingInjecter` that do nothing if a candidate couldn't be found
  - an `OngoingInjecter` that will try to inject the candidate trying first the property setter then if not possible try the field access

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FinalMockCandidateFilter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `OngoingInjecter` | `filterCandidate(java.util.Collection<java.lang.Object> mocks, java.lang.reflect.Field field, java.lang.Object fieldInstance)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FinalMockCandidateFilter

          public FinalMockCandidateFilter()

  - ### Method Detail

    - #### filterCandidate

          public OngoingInjecter filterCandidate(java.util.Collection<java.lang.Object> mocks,
                                        java.lang.reflect.Field field,
                                        java.lang.Object fieldInstance)

      Specified by:
        `filterCandidate` in interface `MockCandidateFilter`