Package sootup.core.validation
Class CheckInitValidator
java.lang.Object
sootup.core.validation.CheckInitValidator
- All Implemented Interfaces:
BodyValidator
This validator checks whether local variables are defined before they are used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionChecks that local variables present in method body are defined before use.
-
Constructor Details
-
CheckInitValidator
public CheckInitValidator()
-
-
Method Details
-
validate
Checks that local variables present in method body are defined before use.- Specified by:
validate
in interfaceBodyValidator
- Parameters:
body
- the body to checkview
- the view- Returns:
-