Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mockito.internal.exceptions.stacktrace
Class StackTraceFilter

    java.lang.Object
      org.mockito.internal.exceptions.stacktrace.StackTraceFilter

All Implemented Interfaces:
  java.io.Serializable

    public class StackTraceFilter

extends java.lang.Object
implements java.io.Serializable

See Also:
  Serialized Form

Constructor Summary
`StackTraceFilter()`

Method Summary
`java.lang.StackTraceElement[]` | `filter(java.lang.StackTraceElement[] target, boolean keepTop)` Example how the filter works (+/- means good/bad): [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] Basically removes all bad from the middle.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StackTraceFilter

    public StackTraceFilter()

Method Detail

### filter

    public java.lang.StackTraceElement[] filter(java.lang.StackTraceElement[] target,
                                                boolean keepTop)

  Example how the filter works (+/- means good/bad): [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] Basically removes all bad from the middle. If any good are in the middle of bad those are also removed.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD