Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing javadoc errors

Ryan Kurtz715a8ba33570
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/DataTypeMapper.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/DataTypeMapper.java
index 85cc8b6c53..15ed684f15 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/DataTypeMapper.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/DataTypeMapper.java
@@ -34,8 +34,8 @@ import ghidra.util.task.TaskMonitor;
* To use the full might and majesty of StructureMapping™, a DataTypeMapper must be created. It
* must be able to {@link #addArchiveSearchCategoryPath(CategoryPath...) find}
* ({@link #addProgramSearchCategoryPath(CategoryPath...) more find}) the Ghidra structure data
- * types being used, and it must {@link #registerStructure(Class) know} about all classes that are
- * going to participate during deserialization and markup.
+ * types being used, and it must {@link #registerStructure(Class, DataTypeMapperContext) know} about
+ * all classes that are going to participate during deserialization and markup.
* <p>
* Structure mapped classes can receive a reference to the specific DataTypeMapper type that
* created them by declaring a {@code DataTypeMapper} field, and tagging it with
@@ -217,7 +217,7 @@ public class DataTypeMapper implements AutoCloseable {
* @param <T> structure mapped class type
* @param clazz the class
* @return {@link StructureMappingInfo} for the specified class, or null if the class was
- * not previously {@link #registerStructure(Class) registered}
+ * not previously {@link #registerStructure(Class, DataTypeMapperContext) registered}
*/
@SuppressWarnings("unchecked")
public <T> StructureMappingInfo<T> getStructureMappingInfo(Class<T> clazz) {
@@ -232,7 +232,7 @@ public class DataTypeMapper implements AutoCloseable {
* @param structureInstance an instance of a previously registered
* {@link StructureMapping structure mapping} class, or null
* @return {@link StructureMappingInfo} for the instance, or null if the class was
- * not previously {@link #registerStructure(Class) registered}
+ * not previously {@link #registerStructure(Class, DataTypeMapperContext) registered}
*/
@SuppressWarnings("unchecked")
public <T> StructureMappingInfo<T> getStructureMappingInfo(T structureInstance) {
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/StructureMapping.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/StructureMapping.java
index 6e8fa375a1..d1950078dc 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/StructureMapping.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/StructureMapping.java
@@ -34,9 +34,9 @@ import java.lang.annotation.*;
* In either case, various annotations on fields and methods will control how this structure
* will be marked up in the Ghidra program.
* <p>
- * The tagged class must be {@link DataTypeMapper#registerStructure(Class) registered} with
- * the {@link DataTypeMapper program context} to enable the suite of structure mapped classes
- * to work together when applied to a Ghidra binary.
+ * The tagged class must be {@link DataTypeMapper#registerStructure(Class, DataTypeMapperContext)
+ * registered} with the {@link DataTypeMapper program context} to enable the suite of structure
+ * mapped classes to work together when applied to a Ghidra binary.
* <p>
* For variable length structure classes, when the struct mapping system creates a custom-fitted
* structure to markup a specific location with its specific data, the new struct data type's name