public class MethodFilter extends Object
MethodFilter checks whether the matching criteria specified by an
@Interface annotation apply to a given method.| Constructor and Description |
|---|
MethodFilter(Interface annotation)
Creates a new
MethodFilter with pre-compiled predicates for the given
Interface annotation. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(ExecutableElement method)
Matches a method against the filter criteria.
|
public MethodFilter(Interface annotation)
MethodFilter with pre-compiled predicates for the given
Interface annotation.annotation - the Interface annotationpublic boolean matches(ExecutableElement method)
method - the ExecutableElementtrue if the method matches, false otherwiseCopyright © 2022. All rights reserved.