<FindBugsFilter>
  <Match>
    <!-- I don't care about these 2. In many cases I do not encapsulate on purpose -->
    <Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
  </Match>
  <Match>
    <!-- I don't care about this one. Using the same name as the JDK from some classes seem normal -->
    <Bug pattern="PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES" />
  </Match>
  <Match>
    <Class name="org.easymock.EasyMock" />
    <Method name="aryEq" />
    <Bug code="PZLA" />
  </Match>
  <Match>
    <Class name="org.easymock.internal.EasyMockProperties" />
    <Method name="getInstance" />
    <Bug pattern="MS_EXPOSE_REP" />
  </Match>
  <Match>
    <Class name="org.easymock.ConstructorArgs" />
    <Method name="validateArgs" />
    <Bug pattern="REC_CATCH_EXCEPTION" />
  </Match>
  <Match>
    <Class name="org.easymock.internal.MocksBehavior" />
    <Method name="addActual" />
    <Bug pattern="VO_VOLATILE_INCREMENT" />
  </Match>
  <Match>
    <!-- Fixed for the method we overload. I can't fix the initialization in the parent class -->
    <Class name="org.easymock.EasyMockRunner" />
    <Bug pattern="CT_CONSTRUCTOR_THROW" />
  </Match>
  <Match>
    <!-- We assume that if a Capture is serializable, the user should make sure the transformation also is -->
    <Class name="org.easymock.Capture" />
    <Bug pattern="SE_BAD_FIELD" />
  </Match>
</FindBugsFilter>
