Class JdkFilters.MethodFilter
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.jdk.JdkFilters.MethodFilter
-
- All Implemented Interfaces:
IItemFilter
- Enclosing class:
- JdkFilters
private static class JdkFilters.MethodFilter extends java.lang.Object implements IItemFilter
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
methodName
private java.lang.String
typeName
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPredicate<IItem>
getPredicate(IType<IItem> type)
-
-
-
Method Detail
-
getPredicate
public IPredicate<IItem> getPredicate(IType<IItem> type)
- Specified by:
getPredicate
in interfaceIItemFilter
- Parameters:
type
- the item type to get a predicate for- Returns:
- a predicate to use for items of the supplied type
-
-