soot.jimple.toolkits.callgraph
Class MethodContext

java.lang.Object
  extended bysoot.jimple.toolkits.callgraph.MethodContext
All Implemented Interfaces:
MethodOrMethodContext

public final class MethodContext
extends java.lang.Object
implements MethodOrMethodContext

Represents a pair of a method and a context.

Author:
Ondrej Lhotak

Method Summary
 java.lang.Object context()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 SootMethod method()
           
 java.lang.String toString()
           
static MethodOrMethodContext v(SootMethod method, java.lang.Object context)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

method

public SootMethod method()
Specified by:
method in interface MethodOrMethodContext

context

public java.lang.Object context()
Specified by:
context in interface MethodOrMethodContext

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

v

public static MethodOrMethodContext v(SootMethod method,
                                      java.lang.Object context)

toString

public java.lang.String toString()