protected static class CFGBuilder.TryCatchFrame extends Object implements CFGBuilder.TryFrame
| Modifier and Type | Field and Description |
|---|---|
protected List<Pair<TypeMirror,CFGBuilder.Label>> |
catchLabels
An ordered list of pairs because catch blocks are ordered.
|
protected Types |
types |
| Constructor and Description |
|---|
TryCatchFrame(Types types,
List<Pair<TypeMirror,CFGBuilder.Label>> catchLabels) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
possibleLabels(TypeMirror thrown,
Set<CFGBuilder.Label> labels)
Given a type of thrown exception, add the set of possible control flow successor
CFGBuilder.Labels to the argument set. |
String |
toString() |
protected Types types
protected List<Pair<TypeMirror,CFGBuilder.Label>> catchLabels
public TryCatchFrame(Types types, List<Pair<TypeMirror,CFGBuilder.Label>> catchLabels)
public boolean possibleLabels(TypeMirror thrown, Set<CFGBuilder.Label> labels)
CFGBuilder.Labels to the argument set. Return true if the exception is known to be caught by one of
those labels and false if it may propagate still further.possibleLabels in interface CFGBuilder.TryFrame