GP-0: Fixing javadoc errors

This commit is contained in:
Ryan Kurtz 2024-06-12 08:00:20 -04:00
parent 0384d9d6fe
commit 715a8ba335
2 changed files with 7 additions and 7 deletions

View file

@ -34,8 +34,8 @@ import ghidra.util.task.TaskMonitor;
* To use the full might and majesty of StructureMapping™, a DataTypeMapper must be created. It * To use the full might and majesty of StructureMapping™, a DataTypeMapper must be created. It
* must be able to {@link #addArchiveSearchCategoryPath(CategoryPath...) find} * must be able to {@link #addArchiveSearchCategoryPath(CategoryPath...) find}
* ({@link #addProgramSearchCategoryPath(CategoryPath...) more find}) the Ghidra structure data * ({@link #addProgramSearchCategoryPath(CategoryPath...) more find}) the Ghidra structure data
* types being used, and it must {@link #registerStructure(Class) know} about all classes that are * types being used, and it must {@link #registerStructure(Class, DataTypeMapperContext) know} about
* going to participate during deserialization and markup. * all classes that are going to participate during deserialization and markup.
* <p> * <p>
* Structure mapped classes can receive a reference to the specific DataTypeMapper type that * 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 * 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 <T> structure mapped class type
* @param clazz the class * @param clazz the class
* @return {@link StructureMappingInfo} for the specified class, or null if the class was * @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") @SuppressWarnings("unchecked")
public <T> StructureMappingInfo<T> getStructureMappingInfo(Class<T> clazz) { 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 * @param structureInstance an instance of a previously registered
* {@link StructureMapping structure mapping} class, or null * {@link StructureMapping structure mapping} class, or null
* @return {@link StructureMappingInfo} for the instance, or null if the class was * @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") @SuppressWarnings("unchecked")
public <T> StructureMappingInfo<T> getStructureMappingInfo(T structureInstance) { public <T> StructureMappingInfo<T> getStructureMappingInfo(T structureInstance) {

View file

@ -34,9 +34,9 @@ import java.lang.annotation.*;
* In either case, various annotations on fields and methods will control how this structure * In either case, various annotations on fields and methods will control how this structure
* will be marked up in the Ghidra program. * will be marked up in the Ghidra program.
* <p> * <p>
* The tagged class must be {@link DataTypeMapper#registerStructure(Class) registered} with * The tagged class must be {@link DataTypeMapper#registerStructure(Class, DataTypeMapperContext)
* the {@link DataTypeMapper program context} to enable the suite of structure mapped classes * registered} with the {@link DataTypeMapper program context} to enable the suite of structure
* to work together when applied to a Ghidra binary. * mapped classes to work together when applied to a Ghidra binary.
* <p> * <p>
* For variable length structure classes, when the struct mapping system creates a custom-fitted * 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 * structure to markup a specific location with its specific data, the new struct data type's name