Class ExceptionHandlers
java.lang.Object
org.apache.bcel.verifier.structurals.ExceptionHandlers
This class allows easy access to ExceptionHandler objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ExceptionHandler[]
Empty array.private final Map
<InstructionHandle, Set<ExceptionHandler>> The ExceptionHandler instances. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ExceptionHandlers instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.
-
Field Details
-
EMPTY_ARRAY
Empty array. -
exceptionHandlers
The ExceptionHandler instances. Key: InstructionHandle objects, Values: HashSetinstances.
-
-
Constructor Details
-
ExceptionHandlers
Constructs a new ExceptionHandlers instance.
-
-
Method Details
-
getExceptionHandlers
Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.
-