public class StaticFieldRef extends java.lang.Object implements FieldRef
| 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.
|
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 |
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()
Valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public SootFieldRef getFieldRef()
getFieldRef in interface FieldRefpublic void setFieldRef(SootFieldRef fieldRef)
setFieldRef in interface FieldRefpublic java.util.List getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getType()
Valuepublic void apply(Switch sw)
Switchableapply in interface Switchablepublic boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
EquivToequivHashCode in interface EquivToCopyright © 2012-2019 RoboVM AB. All Rights Reserved.