Package sootup.core.jimple.common.ref
Class JInstanceFieldRef
java.lang.Object
sootup.core.jimple.common.ref.JFieldRef
sootup.core.jimple.common.ref.JInstanceFieldRef
- All Implemented Interfaces:
EquivTo
,LValue
,Value
,ConcreteRef
,Ref
,Acceptor<RefVisitor>
-
Constructor Summary
ConstructorDescriptionJInstanceFieldRef
(Local base, FieldSignature fieldSig) Create a reference to a class' instance field. -
Method Summary
Modifier and TypeMethodDescription<V extends RefVisitor>
Vaccept
(V v) Called when this object is visited.int
Returns a hash code for this object, consistent with structural equality.boolean
equivTo
(Object o, JimpleComparator comparator) Returns true if this object is equivalent to o according to the given comparator.getBase()
getUses()
Returns a List of Locals,FieldRefs,ArrayRefs which are used by (ie contained within) this Expression or Reference.toString()
void
toString
(StmtPrinter up) withFieldSignature
(FieldSignature fieldSignature) Methods inherited from class sootup.core.jimple.common.ref.JFieldRef
equals, getFieldSignature, getType
-
Constructor Details
-
JInstanceFieldRef
Create a reference to a class' instance field.- Parameters:
base
- the base value of the fieldfieldSig
- the field sig
-
-
Method Details
-
toString
-
toString
-
getBase
-
getUses
Description copied from interface:Value
Returns a List of Locals,FieldRefs,ArrayRefs which are used by (ie contained within) this Expression or Reference.- Returns:
-
accept
Description copied from interface:Acceptor
Called when this object is visited. -
equivTo
Description copied from interface:EquivTo
Returns true if this object is equivalent to o according to the given comparator. -
equivHashCode
public int equivHashCode()Returns a hash code for this object, consistent with structural equality. -
withBase
-
withFieldSignature
- Specified by:
withFieldSignature
in classJFieldRef
-