|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mvel2.asm.tree.TryCatchBlockNode
public class TryCatchBlockNode
A node that represents a try catch block.
| Field Summary | |
|---|---|
LabelNode |
end
End of the exception handler's scope (exclusive). |
LabelNode |
handler
Beginning of the exception handler's code. |
List<TypeAnnotationNode> |
invisibleTypeAnnotations
The runtime invisible type annotations on the exception handler type. |
LabelNode |
start
Beginning of the exception handler's scope (inclusive). |
String |
type
Internal name of the type of exceptions handled by the handler. |
List<TypeAnnotationNode> |
visibleTypeAnnotations
The runtime visible type annotations on the exception handler type. |
| Constructor Summary | |
|---|---|
TryCatchBlockNode(LabelNode start,
LabelNode end,
LabelNode handler,
String type)
Constructs a new TryCatchBlockNode. |
|
| Method Summary | |
|---|---|
void |
accept(MethodVisitor mv)
Makes the given visitor visit this try catch block. |
void |
updateIndex(int index)
Updates the index of this try catch block in the method's list of try catch block nodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public LabelNode start
public LabelNode end
public LabelNode handler
public String type
public List<TypeAnnotationNode> visibleTypeAnnotations
TypeAnnotationNode objects. May be
null.
public List<TypeAnnotationNode> invisibleTypeAnnotations
TypeAnnotationNode objects. May be
null.
| Constructor Detail |
|---|
public TryCatchBlockNode(LabelNode start,
LabelNode end,
LabelNode handler,
String type)
TryCatchBlockNode.
start - beginning of the exception handler's scope (inclusive).end - end of the exception handler's scope (exclusive).handler - beginning of the exception handler's code.type - internal name of the type of exceptions handled by the
handler, or null to catch any exceptions (for
"finally" blocks).| Method Detail |
|---|
public void updateIndex(int index)
index - the new index of this try catch block in the method's list of
try catch block nodes.public void accept(MethodVisitor mv)
mv - a method visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||