diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-18 23:18:54 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-18 23:18:54 +0100 |
commit | 15a28add9dcad2896168d69018963a413ec75f1e (patch) | |
tree | 90955adad35b663fb20cca01a9f135f2697012d7 | |
parent | 24c1a1ed54d06935b02893148be9b30090f2522c (diff) | |
download | lombok-15a28add9dcad2896168d69018963a413ec75f1e.tar.gz lombok-15a28add9dcad2896168d69018963a413ec75f1e.tar.bz2 lombok-15a28add9dcad2896168d69018963a413ec75f1e.zip |
[build] the new spi processor didn't handle inner types used as SPI targets.
-rw-r--r-- | buildScripts/setup.ant.xml | 2 | ||||
-rw-r--r-- | src/spiProcessor/lombok/spi/SpiProcessor.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/buildScripts/setup.ant.xml b/buildScripts/setup.ant.xml index f81c5134..2a9104eb 100644 --- a/buildScripts/setup.ant.xml +++ b/buildScripts/setup.ant.xml @@ -25,7 +25,7 @@ This buildfile is part of projectlombok.org. It sets up the build itself. </description> <!-- increment this number to force a clean of the 'build' dir --> - <property name="build.version" value="2020-12-04_001" /> + <property name="build.version" value="2021-03-18_001" /> <property name="pattern.jdk11plus" value="^(\d\d\d+|1[1-9]|[2-9]\d)(\..*)?$" /> <property name="ivy.retrieve.pattern" value="lib/[conf]/[organisation]-[artifact].[ext]" /> diff --git a/src/spiProcessor/lombok/spi/SpiProcessor.java b/src/spiProcessor/lombok/spi/SpiProcessor.java index 975a85c7..4ad27bbe 100644 --- a/src/spiProcessor/lombok/spi/SpiProcessor.java +++ b/src/spiProcessor/lombok/spi/SpiProcessor.java @@ -222,7 +222,7 @@ public class SpiProcessor extends AbstractProcessor { } for (TypeMirror spiType : spiTypes) { - String spiTypeName = toElement(spiType).getQualifiedName().toString(); + String spiTypeName = createProperQualifiedName(toElement(spiType)); String createProperQualifiedName = createProperQualifiedName(elem); data.getService(spiTypeName).addProvider(createProperQualifiedName); } |