public static class AllocationSiteHandler.CastCheckHandler extends java.lang.Object implements AllocationSiteHandler
AllocationSiteHandler.CastCheckHandler, AllocationSiteHandler.PointsToSetHandler, AllocationSiteHandler.VirtualCallHandler
Constructor and Description |
---|
CastCheckHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleAllocationSite(AllocNode allocNode,
ImmutableStack<java.lang.Integer> callStack)
handle a particular allocation site
|
void |
resetState() |
void |
setManager(TypeManager manager) |
void |
setType(Type type) |
boolean |
shouldHandle(VarNode dst) |
public boolean handleAllocationSite(AllocNode allocNode, ImmutableStack<java.lang.Integer> callStack)
AllocationSiteHandler
handleAllocationSite
in interface AllocationSiteHandler
allocNode
- the abstract location nodecallStack
- for context-sensitive analysis, the call site; might be nullpublic void setManager(TypeManager manager)
public void setType(Type type)
public void resetState()
resetState
in interface AllocationSiteHandler
public boolean shouldHandle(VarNode dst)
shouldHandle
in interface AllocationSiteHandler