Package ghidra.app.util.bin.format.objc
Class AbstractObjcTypeMetadata
java.lang.Object
ghidra.app.util.bin.format.objc.AbstractObjcTypeMetadata
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
Objc1TypeMetadata,Objc2TypeMetadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MessageLogprotected TaskMonitorprotected Programprotected ObjcState -
Constructor Summary
ConstructorsConstructorDescriptionAbstractObjcTypeMetadata(ObjcState state, Program program, TaskMonitor monitor, MessageLog log) Creates a newAbstractObjcTypeMetadata -
Method Summary
-
Field Details
-
program
-
monitor
-
log
-
state
-
-
Constructor Details
-
AbstractObjcTypeMetadata
public AbstractObjcTypeMetadata(ObjcState state, Program program, TaskMonitor monitor, MessageLog log) throws IOException, CancelledException Creates a newAbstractObjcTypeMetadata- Parameters:
state- Thestateprogram- TheProgrammonitor- A cancellable task monitorlog- The log- Throws:
IOException- if there was an IO-related errorCancelledException- if the user cancelled the operation
-
-
Method Details
-
applyTo
public abstract void applyTo()Applies the type metadata to the program -
log
Convenience method to perform logging- Parameters:
message- The message to log
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-