Package sootup.core.jimple.common.ref
Class JStaticFieldRef
java.lang.Object
sootup.core.jimple.common.ref.JFieldRef
sootup.core.jimple.common.ref.JStaticFieldRef
- All Implemented Interfaces:
EquivTo,LValue,ConcreteRef,Ref,Value,JimpleIR,Acceptor<RefVisitor>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V extends RefVisitor>
Vaccept(@NonNull V v) Called when this object is visited.voidcollectUses(List<Value> collector) Collects all values used by this value into the given list.intReturns a (not necessarily fixed) hash code for this object.booleanequivTo(Object o, @NonNull JimpleComparator comparator) Returns true if this object is equivalent to o according to the given comparator.toString()voidtoString(@NonNull StmtPrinter up) Appends a string representation of this value to the given printer.@NonNull JStaticFieldRefwithFieldSignature(@NonNull FieldSignature fieldSig) Methods inherited from class sootup.core.jimple.common.ref.JFieldRef
equals, getFieldSignature, getType
-
Constructor Details
-
JStaticFieldRef
-
-
Method Details
-
toString
-
toString
Description copied from interface:ValueAppends a string representation of this value to the given printer. -
collectUses
Description copied from interface:ValueCollects all values used by this value into the given list.- Specified by:
collectUsesin interfaceValue
-
equivTo
Description copied from interface:EquivToReturns true if this object is equivalent to o according to the given comparator. -
equivHashCode
public int equivHashCode()Description copied from interface:EquivToReturns a (not necessarily fixed) hash code for this object. This hash code coincides with equivTo; it is undefined in the presence of mutable objects. The contract is defined inJimpleComparator.- Specified by:
equivHashCodein interfaceEquivTo- Returns:
- a structural hash code consistent with equivTo
-
accept
Description copied from interface:AcceptorCalled when this object is visited.- Specified by:
acceptin interfaceAcceptor<RefVisitor>- Type Parameters:
V- the concrete visitor type- Parameters:
v- the visitor processing this object- Returns:
- the visitor after processing
-
withFieldSignature
- Specified by:
withFieldSignaturein classJFieldRef
-