diff options
author | zaaarf <zaaarf@proton.me> | 2023-08-27 01:55:04 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-08-27 01:55:04 +0200 |
commit | 787fea3dd108a4329a9afe3b1e8dfa6722607b9d (patch) | |
tree | 884e2df25e6df6530e1dda437256871905619f15 /src/main/java/ftbsc/lll/mapper/IMapper.java | |
parent | 539be7798063b264b5f8bb8b5226f8df9bce158d (diff) |
feat: added getRawMappings(), rewritten MultiMapper for efficiency0.2.2
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/IMapper.java')
-rw-r--r-- | src/main/java/ftbsc/lll/mapper/IMapper.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/IMapper.java b/src/main/java/ftbsc/lll/mapper/IMapper.java index 1fe04ca..d3ba8b3 100644 --- a/src/main/java/ftbsc/lll/mapper/IMapper.java +++ b/src/main/java/ftbsc/lll/mapper/IMapper.java @@ -77,4 +77,10 @@ public interface IMapper { * @throws MappingNotFoundException if no mapping is found */ FieldData getFieldData(String parent, String name) throws MappingNotFoundException; + + /** + * Fetches the "raw mappings" from an {@link IMapper}. + * @return a map tying each {@link ClassData} to the class' plain name + */ + Map<String, ClassData> getRawMappings(); } |