diff options
author | zaaarf <me@zaaarf.foo> | 2024-01-24 17:35:09 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-01-24 17:35:09 +0100 |
commit | 16508aff77569c683baaaf42d32cf482b6a8a386 (patch) | |
tree | d25dea27a5b34990e47efd072b3cda778930cdbd /src/main/java/ftbsc/lll/mapper/data/MethodData.java | |
parent | ae63aef390db222448787db5f5998e77fc46bd2a (diff) |
chore: version bump + internal reorganisation0.4.0
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/data/MethodData.java')
-rw-r--r-- | src/main/java/ftbsc/lll/mapper/data/MethodData.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/data/MethodData.java b/src/main/java/ftbsc/lll/mapper/data/MethodData.java new file mode 100644 index 0000000..670ecd2 --- /dev/null +++ b/src/main/java/ftbsc/lll/mapper/data/MethodData.java @@ -0,0 +1,35 @@ +package ftbsc.lll.mapper.data; + +/** + * Container class for method data. + */ +public class MethodData { + + /** + * The internal name of the parent class. + */ + public final ClassData parentClass; + + /** + * The signature of the method. + */ + public final MethodSignature signature; + + /** + * The mapped name of the method. + */ + public final String nameMapped; + + /** + * Constructs a new {@link MethodData}. + * @param parentClass the {@link ClassData} representation of the parent class + * @param name the method name + * @param nameMapped the mapped method name + * @param descriptor the method's descriptor + */ + public MethodData(ClassData parentClass, String name, String nameMapped, String descriptor) { + this.parentClass = parentClass; + this.signature = new MethodSignature(name, descriptor); + this.nameMapped = nameMapped; + } +} |