|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ipa.callgraph.Entrypoint
public abstract class Entrypoint
A representation of an entrypoint in the call graph.
| Field Summary | |
|---|---|
protected IMethod |
method
The method to be called |
| Constructor Summary | |
|---|---|
protected |
Entrypoint(IMethod method)
|
protected |
Entrypoint(MethodReference method,
IClassHierarchy cha)
|
| Method Summary | |
|---|---|
SSAAbstractInvokeInstruction |
addCall(AbstractRootMethod m)
Add a call to this entrypoint from the fake root method |
boolean |
equals(java.lang.Object obj)
|
IMethod |
getMethod()
|
abstract int |
getNumberOfParameters()
|
abstract TypeReference[] |
getParameterTypes(int i)
|
int |
hashCode()
|
protected int |
makeArgument(AbstractRootMethod m,
int i)
Add allocation statements to the fake root method for each possible value of parameter i. |
CallSiteReference |
makeSite(int programCounter)
Create a call site reference representing a call to this entrypoint |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final IMethod method
| Constructor Detail |
|---|
protected Entrypoint(IMethod method)
method - the method to be called for this entrypoint
protected Entrypoint(MethodReference method,
IClassHierarchy cha)
| Method Detail |
|---|
public CallSiteReference makeSite(int programCounter)
programCounter - the bytecode index of the synthesize call
protected int makeArgument(AbstractRootMethod m,
int i)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic SSAAbstractInvokeInstruction addCall(AbstractRootMethod m)
m - the Fake Root Method
public IMethod getMethod()
public abstract TypeReference[] getParameterTypes(int i)
public abstract int getNumberOfParameters()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||