org.checkerframework.dataflow.cfg.block.SpecialBlock 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.cfg.block;
/**
* Represents a special basic block; i.e., one of the following:
*
*
* - Entry block of a method.
*
- Regular exit block of a method.
*
- Exceptional exit block of a method.
*
*/
public interface SpecialBlock extends SingleSuccessorBlock {
/** The types of special basic blocks. */
public enum SpecialBlockType {
/** The entry block of a method. */
ENTRY,
/** The exit block of a method. */
EXIT,
/** A special exit block of a method for exceptional termination. */
EXCEPTIONAL_EXIT,
}
/**
* Returns the type of this special basic block.
*
* @return the type of this special basic block
*/
SpecialBlockType getSpecialType();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy