| com.pnfsoftware.jeb.core.units.code.java.IJavaCatchBlock |
Interface to represent a catch-block used by IJavaTry AST elements.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void | addType(IJavaType type) | ||||||||||
| abstract void | addTypes(Collection<IJavaType> types) | ||||||||||
| abstract boolean | canCatch(String typestring) | ||||||||||
| abstract List<IJavaType> |
getAdditionalCaughtTypes()
For multi-catch (java >= 7), retrieve additional caught types.
| ||||||||||
| abstract IJavaBlock | getBlock() | ||||||||||
| abstract List<IJavaType> |
getCaughtTypes()
Retrieve a read-only copy of the list of caught types.
| ||||||||||
| abstract IJavaDefinition | getDefinition() | ||||||||||
| abstract IJavaIdentifier | getIdentifier() | ||||||||||
| abstract IJavaType |
getType()
Retrieve the primary caught type.
| ||||||||||
| abstract void | setBlock(IJavaBlock block) | ||||||||||
| abstract void | setDefifinition(IJavaDefinition def) | ||||||||||
| abstract void | setIdentifier(IJavaIdentifier ident) | ||||||||||
| abstract void | setType(IJavaType type) | ||||||||||
For multi-catch (java >= 7), retrieve additional caught types.
Retrieve a read-only copy of the list of caught types.