Class CodeUnitProxy


  • public class CodeUnitProxy
    extends ProxyObj<CodeUnit>
    Stores information about a code unti in a program such that the code unit can be retrieved when needed.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CodeUnit getObject()
      Returns the object that this proxy represents or null if the represented object no longer exists.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CodeUnitProxy

        public CodeUnitProxy​(ListingModel model,
                             Program program,
                             CodeUnit cu)
        Construct a proxy for a code unit
        Parameters:
        program - the program containing the code unit
        cu - the code unit to proxy.
    • Method Detail

      • getObject

        public CodeUnit 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<CodeUnit>
        Returns:
        the object that this proxy represents or null if the represented object no longer exists.
        See Also:
        ProxyObj.getObject()