Class CatchHandlerList.Entry

java.lang.Object
com.android.dx.dex.code.CatchHandlerList.Entry
All Implemented Interfaces:
Comparable<CatchHandlerList.Entry>
Enclosing class:
CatchHandlerList

public static class CatchHandlerList.Entry extends Object implements Comparable<CatchHandlerList.Entry>
Entry in the list.
  • Constructor Details

    • Entry

      public Entry(CstType exceptionType, int handler)
      Constructs an instance.
      Parameters:
      exceptionType - non-null; type of exception handled
      handler - >= 0; exception handler address
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(CatchHandlerList.Entry other)
      Specified by:
      compareTo in interface Comparable<CatchHandlerList.Entry>
    • getExceptionType

      public CstType getExceptionType()
      Gets the exception type handled.
      Returns:
      non-null; the exception type
    • getHandler

      public int getHandler()
      Gets the handler address.
      Returns:
      >= 0; the handler address