
org.checkerframework.dataflow.cfg.builder.TryFinallyFrame Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataflow-shaded Show documentation
Show all versions of dataflow-shaded Show documentation
dataflow-shaded is a dataflow framework based on the javac compiler.
It differs from the org.checkerframework:dataflow artifact in two ways.
First, the packages in this artifact have been renamed to org.checkerframework.shaded.*.
Second, unlike the dataflow artifact, this artifact contains the dependencies it requires.
package org.checkerframework.dataflow.cfg.builder;
import java.util.Set;
import javax.lang.model.type.TypeMirror;
/** A TryFinallyFrame applies to exceptions of any type. */
/*package-private*/ class TryFinallyFrame implements TryFrame {
/** The finally label. */
protected final Label finallyLabel;
/**
* Construct a TryFinallyFrame.
*
* @param finallyLabel finally label
*/
public TryFinallyFrame(Label finallyLabel) {
this.finallyLabel = finallyLabel;
}
@Override
public String toString() {
return "TryFinallyFrame: finallyLabel: " + finallyLabel;
}
@Override
public boolean possibleLabels(TypeMirror thrown, Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy