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 |
|---|---|
java.util.Collection<ConstraintCheckIssue> |
checkMethod(javax.lang.model.element.ExecutableElement element)
Checks whether the given method is written correctly.
|
java.util.Collection<ConstraintCheckIssue> |
execute(javax.lang.model.element.Element element)
Run all checks on the element.
|
java.util.Collection<ConstraintCheckIssue> checkMethod(javax.lang.model.element.ExecutableElement element)
element - the method under investigationjava.util.Collection<ConstraintCheckIssue> execute(javax.lang.model.element.Element element)
element - the element under investigationCopyright © 2007-2022 Red Hat, Inc. All Rights Reserved