public class ParametersMethodOverrideCheck extends AbstractMethodOverrideCheck
constraintHelper| Constructor and Description |
|---|
ParametersMethodOverrideCheck(Elements elementUtils,
Types typeUtils,
ConstraintHelper constraintHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<ConstraintCheckIssue> |
checkMethodInternal(ExecutableElement currentMethod,
MethodInheritanceTree methodInheritanceTree)
Performs the check of a method.
|
protected boolean |
needToPerformAnyChecks(ExecutableElement currentMethod)
There can be situations in which no checks should be performed.
|
checkMethod, getEnclosingTypeElementQualifiedNameexecutepublic ParametersMethodOverrideCheck(Elements elementUtils, Types typeUtils, ConstraintHelper constraintHelper)
protected Set<ConstraintCheckIssue> checkMethodInternal(ExecutableElement currentMethod, MethodInheritanceTree methodInheritanceTree)
AbstractMethodOverrideCheckcheckMethodInternal in class AbstractMethodOverrideCheckcurrentMethod - a method to checkmethodInheritanceTree - the MethodInheritanceTree of the method to checkprotected boolean needToPerformAnyChecks(ExecutableElement currentMethod)
AbstractMethodOverrideCheckneedToPerformAnyChecks in class AbstractMethodOverrideCheckcurrentMethod - the method under investigationtrue if we should proceed with checks and false otherwiseCopyright © 2007-2021 Red Hat, Inc. All Rights Reserved