org.checkerframework.dataflow.analysis.BackwardAnalysis Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checker Show documentation
Show all versions of checker Show documentation
The Checker Framework enhances Java's type system to
make it more powerful and useful. This lets software developers
detect and prevent errors in their Java programs.
The Checker Framework includes compiler plug-ins ("checkers")
that find bugs or verify their absence. It also permits you to
write your own compiler plug-ins.
package org.checkerframework.dataflow.analysis;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* This interface defines a backward analysis, given a control flow graph and a backward transfer
* function.
*
* @param the abstract value type to be tracked by the analysis
* @param the store type used in the analysis
* @param the backward transfer function type that is used to approximate runtime behavior
*/
public interface BackwardAnalysis<
V extends AbstractValue, S extends Store, T extends BackwardTransferFunction>
extends Analysis {
/**
* Get the output store at the entry block of a given control flow graph. For a backward analysis,
* the output store contains the analyzed flow information from the exit block to the entry block.
*
* @return the output store at the entry block of a given control flow graph
*/
@Nullable S getEntryStore();
}