Class IdentityStmtsValidator

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

public class IdentityStmtsValidator extends Object implements BodyValidator
This validator checks whether each ParameterRef and ThisRef is used exactly once.
Author:
Marc Miltenberger
  • Constructor Details

    • IdentityStmtsValidator

      public IdentityStmtsValidator()
  • Method Details

    • validate

      public List<ValidationException> validate(Body body, View view)
      Checks whether each ParameterRef and ThisRef is used exactly once.
      Specified by:
      validate in interface BodyValidator
      Parameters:
      body - the body to check
      view - the view
      Returns:
      a list of found validation exceptions