public class MethodMatchers extends Object
Constructor and Description |
---|
MethodMatchers() |
Modifier and Type | Method and Description |
---|---|
static Predicate<MethodTree> |
forLocation(Location location) |
static Predicate<MethodTree> |
named(String name)
Match a method based on its name, as methods can be overloaded
this should be used with caution.
|
public static Predicate<MethodTree> named(String name)
name
- the methods namepublic static Predicate<MethodTree> forLocation(Location location)
Copyright © 2021 org.pitest. All rights reserved.