|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.Analysis.Primitive.PrimitiveMethodSummary.AccessPath
public static class PrimitiveMethodSummary.AccessPath
Encodes an access path. An access path is an NFA, where transitions are field names. Each node in the NFA is represented by an AccessPath object. We try to share AccessPath objects as much as possible.
Field Summary | |
---|---|
static jwutil.collections.Filter |
filter
A filter to unwrap objects from their IdentityHashCodeWrapper. |
Method Summary | |
---|---|
PrimitiveMethodSummary.AccessPath |
copy()
Return a copy of this (complete) access path. |
static PrimitiveMethodSummary.AccessPath |
create(jq_Field f,
PrimitiveMethodSummary.Node n,
PrimitiveMethodSummary.AccessPath p)
Return an access path that is equivalent to the given access path prepended with a transition on the given field and node. |
static PrimitiveMethodSummary.AccessPath |
create(PrimitiveMethodSummary.AccessPath p,
jq_Field f,
PrimitiveMethodSummary.Node n)
Return an access path that is equivalent to the given access path appended with a transition on the given field and node. |
boolean |
equals(Object o)
|
boolean |
equals(PrimitiveMethodSummary.AccessPath that)
Returns true if this access path is equal to the given access path. |
Iterator |
findLast()
Return an iteration of the AccessPath nodes that correspond to end states. |
PrimitiveMethodSummary.AccessPath |
findNode(PrimitiveMethodSummary.Node n)
Find the AccessPath object that corresponds to the given node. |
jq_Field |
first()
Returns the first field of this access path. |
int |
hashCode()
Returns the hashcode for this access path. |
Iterator |
next()
Returns an iteration of the next AccessPath objects. |
Iterator |
reachable()
Return an iteration of the AccessPath objects that are reachable from this AccessPath. |
String |
toString()
Returns a string representation of this (complete) access path. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final jwutil.collections.Filter filter
Method Detail |
---|
public Iterator reachable()
public static PrimitiveMethodSummary.AccessPath create(jq_Field f, PrimitiveMethodSummary.Node n, PrimitiveMethodSummary.AccessPath p)
public static PrimitiveMethodSummary.AccessPath create(PrimitiveMethodSummary.AccessPath p, jq_Field f, PrimitiveMethodSummary.Node n)
public Iterator findLast()
public PrimitiveMethodSummary.AccessPath findNode(PrimitiveMethodSummary.Node n)
public PrimitiveMethodSummary.AccessPath copy()
public String toString()
toString
in class Object
public boolean equals(PrimitiveMethodSummary.AccessPath that)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public jq_Field first()
public Iterator next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |