Stores information about a code unit in a program.
-
Constructor Summary
Constructors
Construct a proxy for a code unit
-
Method Summary
boolean
Returns true if the proxy object of this class contains the given address.
Returns the object that this proxy represents or null if the object no longer exists.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CodeUnitProxy
Construct a proxy for a code unit
- Parameters:
model
- the model
program
- the program containing the code unit
cu
- the code unit to proxy.
-
Method Details
-
getObject
Returns the object that this proxy represents or null if the object no longer exists.
- Specified by:
getObject
in class ProxyObj<CodeUnit>
- Returns:
- the object that this proxy represents or null if the object no longer exists.
-
contains
Returns true if the proxy object of this class contains the given address.
- Specified by:
contains
in class ProxyObj<CodeUnit>
- Parameters:
a
- the address
- Returns:
- true if the proxy object of this class contains the given address.