[fixes #2724] Increase priority of Builder annotation removal

Otherwise they may run after `HandleDelegate`. This is problematic as
`HandleDelegate` parses the compulation unit and `@Builder` may contain imports
(eg `AccessLevel`) that were already removed by other processors, eg `@Getter`.
This commit is contained in:
md_5 committed 2021-03-20 13:18:50 +11:00
1 parent c6076730de
commit 70951d4dd7
11 files changed
+99 -10

No files matched your search

@@ -1,6 +1,4 @@
//skip-idempotent
import lombok.Builder;
@Builder
public class BuilderDefaultsWarnings {
long x = System.currentTimeMillis();
final int y = 5;
@@ -87,7 +85,6 @@ public class BuilderDefaultsWarnings {
}
class NoBuilderButHasDefaults {
private final long z = 5;
@Builder
public NoBuilderButHasDefaults() {
}
@java.lang.SuppressWarnings("all")