Package ghidra.app.util.viewer.proxy
Class ProxyObj<T>
java.lang.Object
ghidra.app.util.viewer.proxy.ProxyObj<T>
- Direct Known Subclasses:
AddressProxy
,CodeUnitProxy
,DataProxy
,EmptyProxy
,FunctionProxy
,VariableProxy
Implementing objects of this interface hold an object from a program (e.g. CodeUnit, Funtion etc.)
in such a way as to be robust against changes to the program. In other words, it protects
against holding on to` "stale" objects. The getObject() method will return the represented object
(refreshed if it was stale) or null if it no longer exists.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the layout model which corresponds to this field proxy.abstract T
Returns the object that this proxy represents or null if the represented object no longer exists.
-
Method Details
-
getListingLayoutModel
Returns the layout model which corresponds to this field proxy. -
getObject
Returns the object that this proxy represents or null if the represented object no longer exists.- Returns:
- the object that this proxy represents or null if the represented object no longer exists.
-