summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java')
-rw-r--r--src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java b/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
index 0f9f25e..cdcec4d 100644
--- a/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
+++ b/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
@@ -115,4 +115,20 @@ public class ClassData {
throw new MappingNotFoundException("field", String.format("%s.%s", this.name, fieldName));
else return data;
}
+
+ /**
+ * Gets the underlying {@link Map} for {@link MethodData}.
+ * @return a {@link Map} tying each {@link MethodSignature} to its {@link MethodData}
+ */
+ public Map<MethodSignature, MethodData> getMethods() {
+ return this.methods;
+ }
+
+ /**
+ * Gets the underlying {@link Map} for {@link FieldData}.
+ * @return a {@link Map} tying each field name to its {@link FieldData}
+ */
+ public Map<String, FieldData> getFields() {
+ return this.fields;
+ }
} \ No newline at end of file