Package sootup.core.validation
Class IdentityStmtsValidator
java.lang.Object
sootup.core.validation.IdentityStmtsValidator
- All Implemented Interfaces:
BodyValidator
This validator checks whether each ParameterRef and ThisRef is used exactly once.
- Author:
- Marc Miltenberger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether each ParameterRef and ThisRef is used exactly once.
-
Constructor Details
-
IdentityStmtsValidator
public IdentityStmtsValidator()
-
-
Method Details
-
validate
Checks whether each ParameterRef and ThisRef is used exactly once.- Specified by:
validate
in interfaceBodyValidator
- Parameters:
body
- the body to checkview
- the view- Returns:
- a list of found validation exceptions
-