|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.Utils
org.multijava.mjc.CThrowableInfo
This class represents information on the sorts of exceptions that can be thrown in a particular context. It is used during the checking passes (checkInterface, checkInitializers, and typecheck).
CFlowControlContextType| Field Summary | |
private boolean |
catched
|
private JPhylum |
location
|
private CClassType |
throwable
|
| Fields inherited from class org.multijava.util.Utils |
DBG_LEVEL_HIGH, DBG_LEVEL_LOW, DBG_LEVEL_NO |
| Constructor Summary | |
CThrowableInfo(CClassType throwable,
JPhylum location)
Constructs an informztion handler |
|
| Method Summary | |
boolean |
equals(Object o)
|
JPhylum |
getLocation()
Return the location of this throwable |
CClassType |
getThrowable()
getVar |
int |
hashCode()
|
boolean |
isCatched()
Return true if this throwable is catched |
void |
setCatched(boolean catched)
Sets this throwable to be cached or not |
| Methods inherited from class org.multijava.util.Utils |
assertTrue, assertTrue, combineArrays, escapeString, escapeString, fail, fail, getFilePath, hasFlag, hasOtherFlags, parsePathParts, relativePathTo, splitQualifiedName, splitQualifiedName, stripJavaModifiers, stripNonJavaModifiers, stripPrivateModifier, unescapeString, vectorToArray, vectorToIntArray |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private CClassType throwable
private JPhylum location
private boolean catched
| Constructor Detail |
public CThrowableInfo(CClassType throwable,
JPhylum location)
throwable - the type of exceptionlocation - the throw statement| Method Detail |
public CClassType getThrowable()
public JPhylum getLocation()
public void setCatched(boolean catched)
public boolean isCatched()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||