Package | Description |
---|---|
serp.bytecode |
Bytecode Manipuation
|
serp.bytecode.visitor |
Bytecode Visitor
|
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
Code.addExceptionHandler()
Add an exception handler to this code block.
|
ExceptionHandler |
Code.addExceptionHandler(ExceptionHandler handler)
Import the given exception handler from another code block.
|
ExceptionHandler |
Code.addExceptionHandler(Instruction tryStart,
Instruction tryEnd,
Instruction handlerStart,
BCClass catchType)
Add an exception handler to this code block.
|
ExceptionHandler |
Code.addExceptionHandler(Instruction tryStart,
Instruction tryEnd,
Instruction handlerStart,
Class catchType)
Add an exception handler to this code block.
|
ExceptionHandler |
Code.addExceptionHandler(Instruction tryStart,
Instruction tryEnd,
Instruction handlerStart,
String catchType)
Add an exception handler to this code block.
|
ExceptionHandler |
Code.getExceptionHandler(BCClass catchType)
Return the exception handler that catches the given exception type;
if multiple handlers catch the given type, which is returned is
undefined.
|
ExceptionHandler |
Code.getExceptionHandler(Class catchType)
Return the exception handler that catches the given exception type;
if multiple handlers catch the given type, which is returned is
undefined.
|
ExceptionHandler |
Code.getExceptionHandler(String catchType)
Return the exception handler that catches the given exception type;
if multiple handlers catch the given type, which is returned is
undefined.
|
ExceptionHandler[] |
Code.getExceptionHandlers()
Return the exception handlers active in this code block, or an
empty array if none.
|
ExceptionHandler[] |
Code.getExceptionHandlers(BCClass catchType)
Return all exception handlers that catch the given exception type,
or an empty array if none.
|
ExceptionHandler[] |
Code.getExceptionHandlers(Class catchType)
Return all exception handlers that catch the given exception type,
or an empty array if none.
|
ExceptionHandler[] |
Code.getExceptionHandlers(String catchType)
Return all exception handlers that catch the given exception type,
or an empty array if none.
|
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
Code.addExceptionHandler(ExceptionHandler handler)
Import the given exception handler from another code block.
|
boolean |
Code.removeExceptionHandler(ExceptionHandler handler)
Remove an exception handler from this code block.
|
void |
Code.setExceptionHandlers(ExceptionHandler[] handlers)
Set the exception handlers for this code block.
|
Modifier and Type | Method and Description |
---|---|
void |
BCVisitor.enterExceptionHandler(ExceptionHandler obj) |
void |
PrettyPrintVisitor.enterExceptionHandler(ExceptionHandler obj) |
void |
BCVisitor.exitExceptionHandler(ExceptionHandler obj) |
void |
PrettyPrintVisitor.exitExceptionHandler(ExceptionHandler obj) |
Copyright © 2002–2019. All rights reserved.