Interface MethodMatchers.NameBuilder
- All Known Implementing Classes:
MethodMatchersBuilder
- Enclosing interface:
- MethodMatchers
public static interface MethodMatchers.NameBuilder
-
Method Summary
Modifier and TypeMethodDescriptionanyName()
Match a method with any name.Match a constructor.Match the name matching the predicate.Match a method with any name is the list.
-
Method Details
-
names
Match a method with any name is the list. -
anyName
MethodMatchers.ParametersBuilder anyName()Match a method with any name. Equivalent to .name(n -> true). -
constructor
MethodMatchers.ParametersBuilder constructor()Match a constructor. Equivalent to .name(n -> "".equals(n)) -
name
Match the name matching the predicate.
-