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, getEnclosingTypeElementQualifiedName
execute
public ParametersMethodOverrideCheck(Elements elementUtils, Types typeUtils, ConstraintHelper constraintHelper)
protected Set<ConstraintCheckIssue> checkMethodInternal(ExecutableElement currentMethod, MethodInheritanceTree methodInheritanceTree)
AbstractMethodOverrideCheck
checkMethodInternal
in class AbstractMethodOverrideCheck
currentMethod
- a method to checkmethodInheritanceTree
- the MethodInheritanceTree
of the method to checkprotected boolean needToPerformAnyChecks(ExecutableElement currentMethod)
AbstractMethodOverrideCheck
needToPerformAnyChecks
in class AbstractMethodOverrideCheck
currentMethod
- the method under investigationtrue
if we should proceed with checks and false
otherwiseCopyright © 2007-2019 Red Hat, Inc. All Rights Reserved