Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Formatting

Ryan Kurtz59d63c23a212
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/swift/types/TargetClassDescriptor.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/swift/types/TargetClassDescriptor.java
index bf491c5d38..62ca353b71 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/swift/types/TargetClassDescriptor.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/swift/types/TargetClassDescriptor.java
@@ -34,9 +34,9 @@ public final class TargetClassDescriptor extends TargetTypeContextDescriptor {
private int metadataPositiveSizeInWords;
private int numImmediateMembers;
private int numFields;
- private int fieldOffsetVectorOffset;
+ private int fieldOffsetVectorOffset;
- /**
+ /**
* Creates a new {@link TargetClassDescriptor}
*
* @param reader A {@link BinaryReader} positioned at the start of the structure
@@ -49,7 +49,7 @@ public final class TargetClassDescriptor extends TargetTypeContextDescriptor {
metadataPositiveSizeInWords = reader.readNextInt();
numImmediateMembers = reader.readNextInt();
numFields = reader.readNextInt();
- fieldOffsetVectorOffset = reader.readNextInt();
+ fieldOffsetVectorOffset = reader.readNextInt();
}
/**
@@ -95,7 +95,7 @@ public final class TargetClassDescriptor extends TargetTypeContextDescriptor {
public int getNumImmediateMembers() {
return numImmediateMembers;
}
-
+
/**
* Gets the number of stored properties in the class, not including its superclasses. If there
* is a field offset vector, this is its length.
@@ -107,16 +107,16 @@ public final class TargetClassDescriptor extends TargetTypeContextDescriptor {
return numFields;
}
- /**
- * Gets the offset of the field offset vector for this class's stored properties in its
- * metadata, in words. 0 means there is no field offset vector.
- *
- * @return THe offset of the field offset vector for this class's stored properties in its
- * metadata, in words. 0 means there is no field offset vector.
- */
- public int getFieldOffsetVectorOffset() {
- return fieldOffsetVectorOffset;
- }
+ /**
+ * Gets the offset of the field offset vector for this class's stored properties in its
+ * metadata, in words. 0 means there is no field offset vector.
+ *
+ * @return THe offset of the field offset vector for this class's stored properties in its
+ * metadata, in words. 0 means there is no field offset vector.
+ */
+ public int getFieldOffsetVectorOffset() {
+ return fieldOffsetVectorOffset;
+ }
@Override
public String getStructureName() {
@@ -142,8 +142,8 @@ public final class TargetClassDescriptor extends TargetTypeContextDescriptor {
"The number of additional members added by this class to the class metadata");
struct.add(DWORD, "NumFields",
"The number of stored properties in the class, not including its superclasses. If there is a field offset vector, this is its length.");
- struct.add(DWORD, "FieldOffsetVectorOffset",
- "The offset of the field offset vector for this class's stored properties in its metadata, in words. 0 means there is no field offset vector.");
+ struct.add(DWORD, "FieldOffsetVectorOffset",
+ "The offset of the field offset vector for this class's stored properties in its metadata, in words. 0 means there is no field offset vector.");
struct.setCategoryPath(new CategoryPath(DATA_TYPE_CATEGORY));
return struct;
}