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

All Superinterfaces:
AssignmentInstruction, LoadInstruction, TACFieldAccess, TACInstruction

public interface LoadFieldInstruction
extends LoadInstruction, TACFieldAccess

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

Author:
Kevin Bierhoff

Method Summary
 Variable getSourceObject()
          Returns the object being read from.
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.AssignmentInstruction
getTarget
 
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
 

Method Detail

getSourceObject

Variable getSourceObject()
Returns the object being read from. This method is equivalent to TACFieldAccess.getAccessedObjectOperand(). In the expression x = y.f this method returns y.

Returns:
The object being read from.