edu.cmu.cs.crystal.tac.model
Interface StoreFieldInstruction

All Superinterfaces:
StoreInstruction, TACFieldAccess, TACInstruction

public interface StoreFieldInstruction
extends StoreInstruction, TACFieldAccess

x.f = y, where f is a field.

Author:
Kevin Bierhoff

Method Summary
 Variable getDestinationObject()
          Returns the object being stored into.
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.StoreInstruction
getSourceOperand
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction
getNode, transfer, transfer
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACFieldAccess
getAccessedObjectOperand, getFieldName, isStaticFieldAccess, resolveFieldBinding
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction
getNode, transfer, transfer
 

Method Detail

getDestinationObject

Variable getDestinationObject()
Returns the object being stored into. This method is equivalent to TACFieldAccess.getAccessedObjectOperand(). In the expression x.f = y, this method returns x.

Returns:
The object being stored into.