public static class JdkFilters.MethodFilter extends java.lang.Object implements IItemFilter
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
methodName |
private java.lang.String |
typeName |
Constructor and Description |
---|
MethodFilter(java.lang.String typeName,
java.lang.String methodName)
Constructs a filter that accepts stack trace frames matching the provided type and method
name.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.Predicate<IItem> |
getPredicate(IType<IItem> type) |
private final java.lang.String typeName
private final java.lang.String methodName
public MethodFilter(java.lang.String typeName, java.lang.String methodName)
typeName
- Type (class) name to matchmethodName
- Method name to matchpublic java.util.function.Predicate<IItem> getPredicate(IType<IItem> type)
getPredicate
in interface IItemFilter
type
- the item type to get a predicate for