public abstract class VerifyPhase<C> extends BasePhase<C>
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyPhase.VerificationError
Thrown when verification performed by a
VerifyPhase fails. |
BasePhase.ApplyScope, BasePhase.BasePhaseStatistics, BasePhase.PhaseOptions, BasePhase.SharedGlobalPhaseState| Constructor and Description |
|---|
VerifyPhase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
run(StructuredGraph graph,
C context) |
protected abstract void |
verify(StructuredGraph graph,
C context)
Checks
graph against some invariants. |
void |
verifyClass(Class<?> clazz,
MetaAccessProvider metaAccess)
Checks
clazz against some invariants. |
apply, apply, applyScope, codeSizeIncrease, contractorName, equals, getName, hashCode, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevelclone, getClass, notify, notifyAll, toString, wait, wait, waitcheckContractprotected final void run(StructuredGraph graph, C context)
protected abstract void verify(StructuredGraph graph, C context)
graph against some invariants.VerifyPhase.VerificationError - if the verification failspublic void verifyClass(Class<?> clazz, MetaAccessProvider metaAccess)
clazz against some invariants.clazz - the class to verifymetaAccess - an object to get a ResolvedJavaType for clazzVerifyPhase.VerificationError - if the class violates some invariant