public enum IdentityStatementsValidator extends Enum<IdentityStatementsValidator> implements BodyValidator
| 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 IdentityStatementsValidator |
v() |
void |
validate(Body body,
List<ValidationException> exceptions)
Checks the following invariants on this Jimple body:
this-references may only occur in instance methods
this-references may only occur as the first statement in a method, if they occur at all
param-references must precede all statements that are not themselves param-references or this-references, if they
occur at all
|
static IdentityStatementsValidator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentityStatementsValidator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityStatementsValidator INSTANCE
public static IdentityStatementsValidator[] values()
for (IdentityStatementsValidator c : IdentityStatementsValidator.values()) System.out.println(c);
public static IdentityStatementsValidator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static IdentityStatementsValidator v()
public void validate(Body body, List<ValidationException> exceptions)
validate in interface BodyValidatorbody - the body to checkexceptions - the list of exceptionspublic boolean isBasicValidator()
BodyValidatorisBasicValidator in interface BodyValidatorCopyright © 2020 Soot OSS. All rights reserved.