com.ibm.wala.accessPath
Class FieldPathElement

java.lang.Object
  extended by com.ibm.wala.accessPath.FieldPathElement
All Implemented Interfaces:
PathElement
Direct Known Subclasses:
InstanceFieldPathElement, StaticFieldPathElement

public abstract class FieldPathElement
extends java.lang.Object
implements PathElement

A field in an access-path string.


Field Summary
 
Fields inherited from interface com.ibm.wala.accessPath.PathElement
EMPTY_ELEMENT
 
Constructor Summary
FieldPathElement(IField fld)
          create a new field-element
 
Method Summary
 boolean equals(java.lang.Object o)
           
 IField getField()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.wala.accessPath.PathElement
isAnchor
 

Constructor Detail

FieldPathElement

public FieldPathElement(IField fld)
create a new field-element

Parameters:
fld - - field element to serve as part of a path
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getField

public IField getField()