org.checkerframework.dataflow.cfg.builder.TreeInfo 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.builder;
import javax.lang.model.type.TypeMirror;
/** A tuple with 4 named elements. */
/*package-private*/ interface TreeInfo {
/**
* Returns true if this is boxed.
*
* @return true if this is boxed
*/
boolean isBoxed();
/**
* Returns true if this is numeric.
*
* @return true if this is numeric
*/
boolean isNumeric();
/**
* Returns true if this is boolean.
*
* @return true if this is boolean
*/
boolean isBoolean();
/**
* Returns the unboxed type that this wraps.
*
* @return the unboxed type that this wraps
*/
TypeMirror unboxedType();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy