|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchord.analyses.alias.Ctxt
public class Ctxt
Representation of an abstract context of a method.
Each abstract context is a possibly empty sequence of the form [e1,...,en] where each ei is either an object allocation statement or a method invocation statement in decreasing order of significance.
The abstract context corresponding to the empty sequence, called
epsilon, is the lone context of methods that are
analyzed context insensitively. These include the main method,
all class initializer methods, and any additional user-specified
methods (see CtxtsAnalysis).
| Constructor Summary | |
|---|---|
Ctxt(joeq.Compiler.Quad.Quad[] elems)
Constructor. |
|
| Method Summary | |
|---|---|
Ctxt |
append(joeq.Compiler.Quad.Quad q)
|
boolean |
contains(joeq.Compiler.Quad.Quad inst)
Determines whether this abstract context contains a given statement. |
int |
count(joeq.Compiler.Quad.Quad inst)
|
boolean |
equals(java.lang.Object o)
|
joeq.Compiler.Quad.Quad |
get(int i)
|
joeq.Compiler.Quad.Quad[] |
getElems()
Provides the sequence of statements comprising this abstract context. |
int |
hashCode()
|
joeq.Compiler.Quad.Quad |
head()
|
joeq.Compiler.Quad.Quad |
last()
|
int |
length()
|
Ctxt |
prefix(int k)
|
Ctxt |
prepend(joeq.Compiler.Quad.Quad q)
|
Ctxt |
prepend(joeq.Compiler.Quad.Quad q,
int max)
|
Ctxt |
suffix(int k)
|
Ctxt |
tail()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Ctxt(joeq.Compiler.Quad.Quad[] elems)
elems - The sequence of statements comprising this
abstract context.| Method Detail |
|---|
public joeq.Compiler.Quad.Quad[] getElems()
public boolean contains(joeq.Compiler.Quad.Quad inst)
inst - A statement.
public int count(joeq.Compiler.Quad.Quad inst)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int length()
public joeq.Compiler.Quad.Quad get(int i)
public joeq.Compiler.Quad.Quad head()
public joeq.Compiler.Quad.Quad last()
public Ctxt tail()
public Ctxt prefix(int k)
public Ctxt suffix(int k)
public Ctxt prepend(joeq.Compiler.Quad.Quad q)
public Ctxt prepend(joeq.Compiler.Quad.Quad q,
int max)
public Ctxt append(joeq.Compiler.Quad.Quad q)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||