Class Handler

java.lang.Object
org.eclipse.sisu.space.asm.Handler

final class Handler extends Object
Information about an exception handler block.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) String
    Internal name of the type of exceptions handled by this handler, or null to catch any exceptions.
    (package private) Label
    End of the exception handler's scope (exclusive).
    (package private) Label
    Beginning of the exception handler's code.
    (package private) Handler
    Next exception handler block info.
    (package private) Label
    Beginning of the exception handler's scope (inclusive).
    (package private) int
    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
     
  • Method Summary

    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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

      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.
  • Constructor Details

    • Handler

      Handler()
  • Method Details

    • 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.