public class StaticFieldRef extends java.lang.Object implements FieldRef, ConvertToBaf
Modifier and Type | Field and Description |
---|---|
protected SootFieldRef |
fieldRef |
Modifier | Constructor and Description |
---|---|
protected |
StaticFieldRef(SootFieldRef fieldRef) |
Modifier and Type | Method and Description |
---|---|
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<Unit> 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() |
SootFieldRef |
getFieldRef() |
Type |
getType()
Returns the Soot type of this Value.
|
java.util.List<ValueBox> |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
|
void |
setFieldRef(SootFieldRef fieldRef) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
protected SootFieldRef fieldRef
protected StaticFieldRef(SootFieldRef fieldRef)
public java.lang.Object clone()
Value
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public SootFieldRef getFieldRef()
getFieldRef
in interface FieldRef
public void setFieldRef(SootFieldRef fieldRef)
setFieldRef
in interface FieldRef
public java.util.List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public boolean equivTo(java.lang.Object o)
EquivTo
public int equivHashCode()
EquivTo
equivHashCode
in interface EquivTo
public void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf
in interface ConvertToBaf