Interface ClassValidator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isBasicValidator()
      Basic validators run essential checks and are run always if validate is called.
      If this method returns false and the caller of the validator respects this property,
      the checks will only be run if the debug or validation option is activated.
      void validate​(SootClass sc, List<ValidationException> exceptions)
      Validates the given class and saves all validation errors in the given list.
    • Method Detail

      • validate

        void validate​(SootClass sc,
                      List<ValidationException> exceptions)
        Validates the given class and saves all validation errors in the given list.
        Specified by:
        validate in interface Validator<SootClass>
        Parameters:
        sc - the class to check
        exceptions - the list of exceptions
      • isBasicValidator

        boolean isBasicValidator()
        Basic validators run essential checks and are run always if validate is called.
        If this method returns false and the caller of the validator respects this property,
        the checks will only be run if the debug or validation option is activated.
        Specified by:
        isBasicValidator in interface Validator<SootClass>
        Returns:
        whether this validator is a basic validator