Package sootup.core.validation
Class OuterClassValidator
java.lang.Object
sootup.core.validation.OuterClassValidator
- All Implemented Interfaces:
ClassValidator
Validates classes to make sure that the outer class chain is not recursive
- Author:
- Steven Arzt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.
-
Constructor Details
-
OuterClassValidator
public OuterClassValidator()
-
-
Method Details
-
validate
Description copied from interface:ClassValidator
Validates the given class and saves all validation errors in the given list.- Specified by:
validate
in interfaceClassValidator
- Parameters:
sc
- the class to check
-
isBasicValidator
public boolean isBasicValidator()Description copied from interface:ClassValidator
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 interfaceClassValidator
- Returns:
- whether this validator is a basic validator
-