Class MethodValidator

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

public class MethodValidator extends Object implements BodyValidator
  • Constructor Details

    • MethodValidator

      public MethodValidator()
  • Method Details

    • validate

      public List<ValidationException> validate(@Nonnull Body body, @Nonnull View view)
      Checks the following invariants on this Jimple body:
      1. static initializer should have 'static' modifier
      Specified by:
      validate in interface BodyValidator
      Parameters:
      body - the body to check
      view - the view
      Returns:
      a list of found validation exceptions