soot.jimple
Class StaticFieldRef

java.lang.Object
  |
  +--soot.jimple.StaticFieldRef
Direct Known Subclasses:
DStaticFieldRef

public class StaticFieldRef
extends java.lang.Object
implements FieldRef, ConvertToBaf

See Also:
Serialized Form

Constructor Summary
protected StaticFieldRef(SootField field)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 java.lang.Object clone()
          Returns a clone of this Value.
 void convertToBaf(JimpleToBafContext context, java.util.List out)
           
 int equivHashCode()
          Returns a (not necessarily fixed) hash code for this object.
 boolean equivTo(java.lang.Object o)
          Returns true if this object is equivalent to o.
 SootField getField()
           
 Type getType()
          Returns the Soot type of this Value.
 java.util.List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setField(SootField field)
           
 java.lang.String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticFieldRef

protected StaticFieldRef(SootField field)
Method Detail

clone

public java.lang.Object clone()
Description copied from interface: Value
Returns a clone of this Value.
Overrides:
clone in class java.lang.Object

toString

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

toString

public void toString(UnitPrinter up)

getField

public SootField getField()
Specified by:
getField in interface FieldRef

setField

public void setField(SootField field)
Specified by:
setField in interface FieldRef

getUseBoxes

public java.util.List getUseBoxes()
Description copied from interface: Value
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.

getType

public Type getType()
Description copied from interface: Value
Returns the Soot type of this Value.

apply

public void apply(Switch sw)
Description copied from interface: Switchable
Called when this object is visited.

equivTo

public boolean equivTo(java.lang.Object o)
Description copied from interface: EquivTo
Returns true if this object is equivalent to o.

equivHashCode

public int equivHashCode()
Description copied from interface: EquivTo
Returns a (not necessarily fixed) hash code for this object. This hash code coincides with equivTo; it is undefined in the presence of mutable objects.

convertToBaf

public void convertToBaf(JimpleToBafContext context,
                         java.util.List out)
Specified by:
convertToBaf in interface ConvertToBaf