public enum ClassFlagsValidator extends java.lang.Enum<ClassFlagsValidator> implements ClassValidator
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and 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. |
static ClassFlagsValidator |
v() |
void |
validate(SootClass sc,
java.util.List<ValidationException> exceptions)
Validates the given class and saves all validation errors in the given list.
|
static ClassFlagsValidator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassFlagsValidator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassFlagsValidator INSTANCE
public static ClassFlagsValidator[] values()
for (ClassFlagsValidator c : ClassFlagsValidator.values()) System.out.println(c);
public static ClassFlagsValidator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ClassFlagsValidator v()
public void validate(SootClass sc, java.util.List<ValidationException> exceptions)
ClassValidator
validate
in interface ClassValidator
exceptions
- the list of exceptionspublic boolean isBasicValidator()
ClassValidator
isBasicValidator
in interface ClassValidator