harpoon.Backend.Analysis
Class ClassMethodMap
java.lang.Object
harpoon.Backend.Maps.MethodMap
harpoon.Backend.Analysis.ClassMethodMap
- All Implemented Interfaces:
- Serializable
public class ClassMethodMap
- extends MethodMap
A ClassMethodMap
is a method map for virtual methods of
an object (not static, not private, not constructors). It uses the
natural ordering (under Comparable
of the methods when
possible and caches results for efficiency.
- Version:
- $Id: ClassMethodMap.java,v 1.4 2002/04/10 03:02:22 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassMethodMap
public ClassMethodMap()
- Creates a
ClassMethodMap
.
methodOrder
public int methodOrder(HMethod hm)
- Description copied from class:
MethodMap
- Return an ordering of the given method.
- Specified by:
methodOrder
in class MethodMap