Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing some javadoc

Ryan Kurtzc964163c800a
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoRttiMapper.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoRttiMapper.java
index e58b9f3a7f..7e6c25b3ed 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoRttiMapper.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoRttiMapper.java
@@ -94,8 +94,8 @@ public class GoRttiMapper extends DataTypeMapper implements DataTypeMapperContex
* automatically {@link #close() closed} when the current analysis session is finished.
* <p>
* NOTE: Only valid during an analysis session. If outside of an analysis session, use
- * {@link #getGoBinary(Program)} to create a new instance if you need to use this outside
- * of an analyzer.
+ * {@link #getGoBinary(Program, TaskMonitor)} to create a new instance if you need to use this
+ * outside of an analyzer.
*
* @param program golang {@link Program}
* @param monitor {@link TaskMonitor}
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java
index 7d55b17fb8..1d1627c758 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java
@@ -273,8 +273,7 @@ public class GoTypeManager {
}
/**
- * Finds a go type by its go-type name, from the list of
- * {@link #discoverGoTypes(TaskMonitor) discovered} go types.
+ * Finds a go type by its go-type name
*
* @param typeName name string
* @return {@link GoType}, or null if not found
@@ -622,7 +621,7 @@ public class GoTypeManager {
/**
* Returns category path that should be used to place recovered golang types.
- * @param packagePath optional package path of the type (eg. "utf/utf8", or "runtime")
+ * @param symbolName the symbol from which to get the package path
* @return {@link CategoryPath} to use when creating recovered golang types
*/
public CategoryPath getCP(GoSymbolName symbolName) {
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoFuncType.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoFuncType.java
index 997141d946..45ed86d0a5 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoFuncType.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoFuncType.java
@@ -127,7 +127,6 @@ public class GoFuncType extends GoType {
* Returns a string that describes the function type as a golang-ish function decl.
*
* @param funcName optional name of a function
- * @param receiverString optional receiver decl string
* @return golang func decl string
*/
public String getFuncPrototypeString(String funcName) {
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/features/base/quickfix/QuickFix.java b/Ghidra/Features/Base/src/main/java/ghidra/features/base/quickfix/QuickFix.java
index 8c5993f8df..864fec8a71 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/features/base/quickfix/QuickFix.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/features/base/quickfix/QuickFix.java
@@ -193,7 +193,8 @@ public abstract class QuickFix {
/**
* QuickFix items can override this method if they want to do some special navigation when the
- * table selection changes or the user double clicks (or presses <return> key) to navigate.
+ * table selection changes or the user double clicks (or presses {@code <return>} key) to
+ * navigate.
* @param services the tool service provider
* @param fromSelectionChange true if this call was caused by the table selection changing
* @return true if this item handles the navigation and false if the QuickFix did not
diff --git a/Ghidra/Framework/Docking/src/main/java/docking/wizard/WizardModel.java b/Ghidra/Framework/Docking/src/main/java/docking/wizard/WizardModel.java
index 026efeab6a..fd359554b7 100644
--- a/Ghidra/Framework/Docking/src/main/java/docking/wizard/WizardModel.java
+++ b/Ghidra/Framework/Docking/src/main/java/docking/wizard/WizardModel.java
@@ -34,14 +34,14 @@ import javax.swing.JComponent;
* To create a wizard dialog, the developer needs to create the following:<br>
* <OL>
* <LI> A class that extends this WizardModel. </LI>
- * <LI> One or more classes that extend {@link WizardStep}<br>
- * <LI> A data class that holds that data being collected by this wizard.<br>
+ * <LI> One or more classes that extend {@link WizardStep}</LI>
+ * <LI> A data class that holds that data being collected by this wizard.</LI>
* </OL>
*
* Subclasses must at a minimum implement two methods.
* <OL>
* <LI> AddWizardSteps() - This is where the model defines the ordered list of
- * {@link WizardStep} for this wizard.
+ * {@link WizardStep} for this wizard.</LI>
* <LI> doFinish() - This is where the model should perform the main action of the wizard. This
* will be called when the user presses the <B>Finish</B> button and all the panels have
* had a chance to update the wizard data object.</LI>