diff options
author | zaaarf <zaaarf@proton.me> | 2023-04-12 19:17:11 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-04-12 19:17:11 +0200 |
commit | ee12ab20c13577424d36e913863364324d0ac6b9 (patch) | |
tree | 94a966ef6428bff2acb215a992358061050df285 /src/main/java/ftbsc/lll/processor/tools | |
parent | 527cef56e6881c88f630e93b90c8d412ed4c4723 (diff) |
fix: rename @Find's className as well
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/tools')
-rw-r--r-- | src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java b/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java index dd5635f..95a71bb 100644 --- a/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java +++ b/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java @@ -10,7 +10,6 @@ import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import javax.tools.Diagnostic; import java.lang.annotation.Annotation; -import java.util.Arrays; import java.util.function.Function; import static ftbsc.lll.processor.tools.ASTUtils.*; @@ -125,7 +124,7 @@ public class ClassContainer { */ public static ClassContainer findOrFallback(ClassContainer fallback, Find f, ProcessingEnvironment env, ObfuscationMapper mapper) { if(f == null) return fallback; - ClassContainer cl = ClassContainer.from(f, Find::value, f.className(), env, mapper); + ClassContainer cl = ClassContainer.from(f, Find::value, f.innerName(), env, mapper); return cl.fqn.equals("java.lang.Object") ? fallback : cl; |