Package ghidra.pyghidra.property
Class ObjectJavaProperty
java.lang.Object
ghidra.pyghidra.property.ObjectJavaProperty
- All Implemented Interfaces:
JavaProperty<Object>
The
JavaProperty
for a reference type-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
The method to be used as the fget value for a Python property.final void
The method to be used as the fset value for a Python property.boolean
Checks if this property has a getterboolean
Checks if this property has a setter
-
Field Details
-
field
The name of the property
-
-
Method Details
-
fget
The method to be used as the fget value for a Python property. This method will be called by the Python property __get__ function.- Parameters:
self
- the object containing the property- Returns:
- the property's value
- Throws:
Throwable
- if any exception occurs while getting the value
-
hasGetter
public boolean hasGetter()Checks if this property has a getter- Returns:
- true if this property has a getter
-
hasSetter
public boolean hasSetter()Checks if this property has a setter- Returns:
- true if this property has a setter
-
doGet
- Throws:
Throwable
-
fset
Description copied from interface:JavaProperty
The method to be used as the fset value for a Python property. This method will be called by the Python property __set__ function.- Specified by:
fset
in interfaceJavaProperty<T>
- Parameters:
self
- the object containing the propertyvalue
- the value to be set- Throws:
Throwable
- if any exception occurs while setting the value
-