Package org.eclipse.sisu.space.asm
Class Handler
- java.lang.Object
-
- org.eclipse.sisu.space.asm.Handler
-
final class Handler extends java.lang.Object
Information about an exception handler block.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
desc
Internal name of the type of exceptions handled by this handler, or null to catch any exceptions.(package private) Label
end
End of the exception handler's scope (exclusive).(package private) Label
handler
Beginning of the exception handler's code.(package private) Handler
next
Next exception handler block info.(package private) Label
start
Beginning of the exception handler's scope (inclusive).(package private) int
type
Constant pool index of the internal name of the type of exceptions handled by this handler, or 0 to catch any exceptions.
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Handler
remove(Handler h, Label start, Label end)
Removes the range between start and end from the given exception handlers.
-
-
-
Field Detail
-
start
Label start
Beginning of the exception handler's scope (inclusive).
-
end
Label end
End of the exception handler's scope (exclusive).
-
handler
Label handler
Beginning of the exception handler's code.
-
desc
java.lang.String desc
Internal name of the type of exceptions handled by this handler, or null to catch any exceptions.
-
type
int type
Constant pool index of the internal name of the type of exceptions handled by this handler, or 0 to catch any exceptions.
-
next
Handler next
Next exception handler block info.
-
-
Method Detail
-
remove
static Handler remove(Handler h, Label start, Label end)
Removes the range between start and end from the given exception handlers.- Parameters:
h
- an exception handler list.start
- the start of the range to be removed.end
- the end of the range to be removed. Maybe null.- Returns:
- the exception handler list with the start-end range removed.
-
-