Class VariableProxy


  • public class VariableProxy
    extends ProxyObj<Variable>
    Stores information about a variable in a program such that the variable can be retrieved when needed.
    • Constructor Detail

      • VariableProxy

        public VariableProxy​(ListingModel model,
                             Program program,
                             Address locationAddr,
                             Function fun,
                             Variable var)
        Constructs a proxy for a variable.
        Parameters:
        model - listing model
        program - the program containing the variable.
        locationAddr - the listing address at which the function exists or was inferred via reference
        fun - the function containing the variable.
        var - the variable to proxy.
    • Method Detail

      • getObject

        public Variable getObject()
        Description copied from class: ProxyObj
        Returns the object that this proxy represents or null if the represented object no longer exists.
        Specified by:
        getObject in class ProxyObj<Variable>
        Returns:
        the object that this proxy represents or null if the represented object no longer exists.
        See Also:
        ProxyObj.getObject()
      • getLocationAddress

        public Address getLocationAddress()
      • getFunctionAddress

        public Address getFunctionAddress()