aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-02-27 10:53:12 +0100
committer zaaarf <zaaarf@proton.me>2023-02-27 10:53:12 +0100
commit0e8ae4b69a06e357946e03f2ae0df439a89594ce (patch)
tree1d2294a52b4c12b1f39d60f3e3931b206634f34f /src/main
parent823ce8307a85f8ff5541af1ed44eca86999f8454 (diff)
fix: changed name for logging to original one
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/ftbsc/lll/processor/LilleroProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
index b94408e..321116e 100644
--- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
+++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
@@ -254,7 +254,7 @@ public class LilleroProcessor extends AbstractProcessor {
TypeSpec injectorClass = TypeSpec.classBuilder(injectorSimpleClassName)
.addModifiers(Modifier.PUBLIC)
.addSuperinterface(ClassName.get(IInjector.class))
- .addMethod(buildStringReturnMethod("name", injectorSimpleClassName))
+ .addMethod(buildStringReturnMethod("name", cl.getSimpleName().toString()))
.addMethod(buildStringReturnMethod("reason", ann.reason()))
.addMethod(buildStringReturnMethod("targetClass", targetClassSrgName.replace('/', '.')))
.addMethod(buildStringReturnMethod("methodName", targetMethodSrgName))