Class CheckInitValidator

java.lang.Object
sootup.core.validation.CheckInitValidator
All Implemented Interfaces:
BodyValidator

public class CheckInitValidator extends Object implements BodyValidator
This validator checks whether local variables are defined before they are used.
  • Constructor Details

    • CheckInitValidator

      public CheckInitValidator()
  • Method Details

    • validate

      public List<ValidationException> validate(Body body, View view)
      Checks that local variables present in method body are defined before use.
      Specified by:
      validate in interface BodyValidator
      Parameters:
      body - the body to check
      view - the view
      Returns: