mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-13 01:59:22 +01:00
fix: do not use the original class name as patch name
This commit is contained in:
parent
a259d844a3
commit
999f0500c7
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ public class LilleroProcessor extends AbstractProcessor {
|
|||
.superclass(cl.asType())
|
||||
.addSuperinterface(ClassName.get(IInjector.class))
|
||||
.addMethod(constructorBuilder.build())
|
||||
.addMethod(buildStringReturnMethod("name", cl.getSimpleName().toString()))
|
||||
.addMethod(buildStringReturnMethod("name", injName))
|
||||
.addMethod(buildStringReturnMethod("reason", toGenerate.get(injName).reason))
|
||||
.addMethod(buildStringReturnMethod("targetClass", obfuscateInjectorMetadata ? targetClass.fqnObf : targetClass.fqn))
|
||||
.addMethod(buildStringReturnMethod("methodName", obfuscateInjectorMetadata ? target.nameObf : target.name))
|
||||
|
|
Loading…
Reference in a new issue