Package kilim.analysis
Class Handler
- java.lang.Object
-
- kilim.analysis.Handler
-
public class Handler extends java.lang.ObjectRepresentation for a catch handler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classHandler.Compprivate static classHandler.Resort
-
Field Summary
Fields Modifier and Type Field Description BasicBlockcatchBBcatch handler's entry pointprivate static Handler.CompcompintfromSource offset in method's instruction listintposthe position of the corresponding entry in the unwoven exception tableprivate static Handler.ResortresortinttoEnd offset in method's instruction listjava.lang.StringtypeException type
-
Constructor Summary
Constructors Constructor Description Handler(int aFrom, int aTo, java.lang.String aType, BasicBlock aCatchBB, int pos)Handler(int aFrom, int aTo, Handler h)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private intcomparePos(Handler h)static java.util.ArrayList<Handler>consolidate(java.util.ArrayList<Handler> list)static java.util.Comparator<Handler>startComparator()return a Comparator that orders the handlers by start position
-
-
-
Field Detail
-
from
public int from
Source offset in method's instruction list
-
to
public int to
End offset in method's instruction list
-
type
public java.lang.String type
Exception type
-
catchBB
public BasicBlock catchBB
catch handler's entry point
-
pos
public int pos
the position of the corresponding entry in the unwoven exception table
-
resort
private static Handler.Resort resort
-
comp
private static Handler.Comp comp
-
-
Constructor Detail
-
Handler
public Handler(int aFrom, int aTo, Handler h)
-
Handler
public Handler(int aFrom, int aTo, java.lang.String aType, BasicBlock aCatchBB, int pos)
-
-
Method Detail
-
comparePos
private int comparePos(Handler h)
-
consolidate
public static java.util.ArrayList<Handler> consolidate(java.util.ArrayList<Handler> list)
-
startComparator
public static java.util.Comparator<Handler> startComparator()
return a Comparator that orders the handlers by start position
-
-