| Modifier and Type | Field and Description |
|---|---|
| public LabelNode | end
The end of the exception handler's scope (exclusive). |
| public LabelNode | handler
The beginning of the exception handler's code. |
| public List | invisibleTypeAnnotations
The runtime invisible type annotations on the exception handler type. |
| public LabelNode | start
The beginning of the exception handler's scope (inclusive). |
| public String | type
The internal name of the type of exceptions handled by the handler. |
| public List | visibleTypeAnnotations
The runtime visible type annotations on the exception handler type. |
| Access | Constructor and Description |
|---|---|
| public | TryCatchBlockNode(final LabelNode
the beginning of the exception handler's scope (inclusive). start, final LabelNode the end of the exception handler's scope (exclusive). end, final LabelNode the beginning of the exception handler's code. handler, final String the internal name of the type of exceptions handled by the handler (see type)org.objectweb.asm.Type#getInternalName()), or null to catch any exceptions (for
"finally" blocks).Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final MethodVisitor
a method visitor. methodVisitor)Makes the given visitor visit this try catch block. |
| public void | updateIndex(final int
the new index of this try catch block in the method's list of try catch block
nodes. index)Updates the index of this try catch block in the method's list of try catch block nodes. |
| end | back to summary |
|---|---|
| public LabelNode end The end of the exception handler's scope (exclusive). | |
| handler | back to summary |
|---|---|
| public LabelNode handler The beginning of the exception handler's code. | |
| invisibleTypeAnnotations | back to summary |
|---|---|
| public List<TypeAnnotationNode> invisibleTypeAnnotations The runtime invisible type annotations on the exception handler type. May be null. | |
| start | back to summary |
|---|---|
| public LabelNode start The beginning of the exception handler's scope (inclusive). | |
| type | back to summary |
|---|---|
| public String type The internal name of the type of exceptions handled by the handler. May be null to catch any exceptions (for "finally" blocks). | |
| visibleTypeAnnotations | back to summary |
|---|---|
| public List<TypeAnnotationNode> visibleTypeAnnotations The runtime visible type annotations on the exception handler type. May be null. | |
| TryCatchBlockNode | back to summary |
|---|---|
| public TryCatchBlockNode(final LabelNode start, final LabelNode end, final LabelNode handler, final String type) Constructs a new
| |
| accept | back to summary |
|---|---|
| public void accept(final MethodVisitor methodVisitor) Makes the given visitor visit this try catch block.
| |
| updateIndex | back to summary |
|---|---|
| public void updateIndex(final int index) Updates the index of this try catch block in the method's list of try catch block nodes. This index maybe stored in the 'target' field of the type annotations of this block.
| |