Class DBTraceObjectMethod
java.lang.Object
ghidra.trace.database.target.iface.DBTraceObjectMethod
- All Implemented Interfaces:
DBTraceObjectInterface,TraceMethod,TraceObjectInterface,TraceUniqueObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.trace.database.target.DBTraceObjectInterface
DBTraceObjectInterface.Translator<T>Nested classes/interfaces inherited from interface ghidra.trace.model.target.iface.TraceMethod
TraceMethod.BoolValue, TraceMethod.BytesValue, TraceMethod.DoubleValue, TraceMethod.FloatValue, TraceMethod.IntValue, TraceMethod.LongValue, TraceMethod.Param, TraceMethod.ParameterDescription<T>, TraceMethod.StringsValue, TraceMethod.StringValue, TraceMethod.Value<T> -
Field Summary
Fields inherited from interface ghidra.trace.model.target.iface.TraceObjectInterface
KEY_COMMENT, KEY_DISPLAY, KEY_KIND, KEY_MODIFIED, KEY_ORDER, KEY_SHORT_DISPLAY, KEY_TYPE, KEY_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the object backing this implementationTraceChangeRecord<?, ?> translateEvent(TraceChangeRecord<?, ?> rec) Translate an object event into the interface-specific eventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.trace.database.target.DBTraceObjectInterface
getObjectKey, isDeleted, spaceForValue
-
Constructor Details
-
DBTraceObjectMethod
-
-
Method Details
-
getObject
Description copied from interface:TraceObjectInterfaceGet the object backing this implementation- Specified by:
getObjectin interfaceTraceObjectInterface- Returns:
- the object
-
translateEvent
Description copied from interface:DBTraceObjectInterfaceTranslate an object event into the interface-specific eventBoth the object event and the interface-specific event, if applicable, will be emitted. If multiple events need to be emitted, then this method may emit them directly via its object's trace. If exactly one event needs to be emitted, then this method should return the translated record. If no translation applies, or if the translated event(s) were emitted directly, this method returns
null.- Specified by:
translateEventin interfaceDBTraceObjectInterface- Parameters:
rec- the object event- Returns:
- the interface-specific event to emit, or
null
-