|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.Analysis.MetaMethods.MetaAllCallers
public class MetaAllCallers
MetaAllCallers is the dual of MetaCallGraph.
It computes the callers (MetaMethods) of each meta-method from the
program. Note that the bulk of the computation is done in
MetaCallGraph, this class just inverts the edges of a
precomputed graph.
| Constructor Summary | |
|---|---|
MetaAllCallers(MetaCallGraph mcg)
Creates a MetaAllCallers. |
|
| Method Summary | |
|---|---|
MetaMethod[] |
getCallers(MetaMethod mm_callee)
Returns the callers of the meta method mm_callee. |
MetaMethod[] |
getTransCallers(MetaMethod mm_callee)
Returns the meta-methods that transitively call the meta-method mm_callee. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaAllCallers(MetaCallGraph mcg)
MetaAllCallers. Receives as parameter
the MetaCallGraph which computes the possible callees
of each meta-method.
| Method Detail |
|---|
public MetaMethod[] getCallers(MetaMethod mm_callee)
mm_callee.
The returned set is a set of MetaMethods.
public MetaMethod[] getTransCallers(MetaMethod mm_callee)
mm_callee. Simply the transitive closure of
getCallers.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||