diff options
author | zaaarf <zaaarf@proton.me> | 2023-09-01 12:09:26 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-09-01 12:09:26 +0200 |
commit | fa6c73faf0ebdaac59a309f7c4bc114a3df99a24 (patch) | |
tree | 2fa03aa5e2be18e44725057e8288ef4007621d8f /src/main/java/ftbsc/lll/mapper/tools/data | |
parent | ea030e54b999aba4d8c3409c1507047f0a8aa8c5 (diff) |
feat: rewrote the mapper api to make more sense
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/tools/data')
-rw-r--r-- | src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java | 4 |
1 files changed, 2 insertions, 2 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 784d0e0..4b4f58e 100644 --- a/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java +++ b/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java @@ -1,7 +1,7 @@ package ftbsc.lll.mapper.tools.data; import ftbsc.lll.exceptions.MappingNotFoundException; -import ftbsc.lll.mapper.IMapper; +import ftbsc.lll.mapper.tools.Mapper; import ftbsc.lll.mapper.tools.MappingUtils; import java.util.HashMap; @@ -85,7 +85,7 @@ public class ClassData { * @param mapper the mapper that generated this data * @return a ClassData representing the inverted mappings */ - public ClassData generateReverseMappings(IMapper mapper) { + public ClassData generateReverseMappings(Mapper mapper) { ClassData reverse = new ClassData(this.nameMapped, this.name); this.methods.forEach((signature, data) -> reverse.addMethod(nameMapped, signature.name, MappingUtils.mapMethodDescriptor(signature.descriptor, mapper, false))); |