public interface ClassCheck
Implementations represent checks that determine whether a given class is implemented correctly.
Implementations should be derived from AbstractClassCheck in
order to implement only those check methods applicable for the element kinds
supported by the check.
| Modifier and Type | Method and Description |
|---|---|
Collection<ConstraintCheckIssue> |
checkMethod(ExecutableElement element)
Checks whether the given method is written correctly.
|
Collection<ConstraintCheckIssue> |
execute(Element element)
Run all checks on the element.
|
Collection<ConstraintCheckIssue> checkMethod(ExecutableElement element)
element - the method under investigationCollection<ConstraintCheckIssue> execute(Element element)
element - the element under investigationCopyright © 2007-2021 Red Hat, Inc. All Rights Reserved