|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Backend.Maps.MethodMap
harpoon.Backend.Analysis.InterfaceMethodMap
public class InterfaceMethodMap
InterfaceMethodMap
provides a mapping from interface
methods to the offset that the method-pointers should have on the
object layout.
Constructor Summary | |
---|---|
InterfaceMethodMap(ClassHierarchy ch)
Creates a InterfaceMethodMap for interfaces in
the given ClassHierarchy ch . |
|
InterfaceMethodMap(Enumeration hclasses)
Creates a InterfaceMethodMap for interfaces in
hclasses . |
Method Summary | |
---|---|
int |
methodOrder(HMethod hm)
Returns an ordering of the given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterfaceMethodMap(Enumeration hclasses)
InterfaceMethodMap
for interfaces in
hclasses
.
hclasses
is an
Enumeration
of
HClass
objects.
hclasses
hclasses
,
accumulating all of the interface-methods and
returns a method->int mapping, where the integer
returned represents the placement of the method.
This method is not guaranteed to use any
information besides what is passed to it;
methods from interfaces not in
hclasses
are not required to be
included in the method map returned, and
interferences from classes not in
hclasses
are not required to be
accounted for.
HClass
,
ClassHierarchy
,
CallGraph
public InterfaceMethodMap(ClassHierarchy ch)
InterfaceMethodMap
for interfaces in
the given ClassHierarchy
ch
.
HClass
,
ClassHierarchy
,
CallGraph
Method Detail |
---|
public int methodOrder(HMethod hm)
this
contains an ordering
for hm
hm
's
placement in the ordering.
methodOrder
in class MethodMap
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |