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