dk.brics.string.java
Class AbstractDispatchClassHierarchy
java.lang.Object
dk.brics.string.java.AbstractDispatchClassHierarchy
- All Implemented Interfaces:
- AbstractDispatchStrategy
public class AbstractDispatchClassHierarchy
- extends Object
- implements AbstractDispatchStrategy
Finds the possible targets of an invocation using the class hierarchy of the
application.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDispatchClassHierarchy
public AbstractDispatchClassHierarchy(Hierarchy hierarchy)
getTargetsOf
public List<SootMethod> getTargetsOf(InstanceInvokeExpr expr)
- Description copied from interface:
AbstractDispatchStrategy
- Returns the list of methods that might be invoked by the specified invocation statement.
- Specified by:
getTargetsOf
in interface AbstractDispatchStrategy
- Parameters:
expr
- an invocation statement.
- Returns:
- a read-only list of methods.
Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.