diff options
author | zaaarf <zaaarf@proton.me> | 2023-08-26 18:09:36 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-08-26 18:09:52 +0200 |
commit | 7898882bc5811e5f06e70bc2bb6925e114869a56 (patch) | |
tree | ee2f2a4f75c72f4beaead402d7cbf2ad8d71bfe0 /src/main/java/ftbsc/lll/mapper/tools/data/FieldData.java | |
parent | c3cc90d7743b18aaef0d22adb7292c63ef48603f (diff) |
feat: implemented abstraction logic
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/tools/data/FieldData.java')
-rw-r--r-- | src/main/java/ftbsc/lll/mapper/tools/data/FieldData.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/tools/data/FieldData.java b/src/main/java/ftbsc/lll/mapper/tools/data/FieldData.java new file mode 100644 index 0000000..bcc3985 --- /dev/null +++ b/src/main/java/ftbsc/lll/mapper/tools/data/FieldData.java @@ -0,0 +1,34 @@ + +package ftbsc.lll.mapper.tools.data; + +/** + * Container class for method data. + */ +public class FieldData { + /** + * The internal name of the parent class. + */ + public final ClassData parentClass; + + /** + * The name of the method. + */ + public final String name; + + /** + * The name mapped. + */ + public final String nameMapped; + + /** + * Constructs a new {@link FieldData}. + * @param parentClass the {@link ClassData} representation of the parent class + * @param name the field name + * @param nameMapped the mapped field name + */ + public FieldData(ClassData parentClass, String name, String nameMapped) { + this.parentClass = parentClass; + this.name = name; + this.nameMapped = nameMapped; + } +} |