diff --git a/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/RegisterCaseStyleAnnotationProcessor.java b/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/RegisterCaseStyleAnnotationProcessor.java index cca3453..0f232fc 100644 --- a/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/RegisterCaseStyleAnnotationProcessor.java +++ b/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/RegisterCaseStyleAnnotationProcessor.java @@ -24,7 +24,6 @@ import static lombok.AccessLevel.*; -import com.google.common.annotations.VisibleForTesting; import java.io.IOException; import java.util.Set; import javax.annotation.processing.*; @@ -47,12 +46,8 @@ * @see dev.cookiecode.stylesniffer.api.CaseStyle */ @NoArgsConstructor(access = PUBLIC) -@AllArgsConstructor( - access = PACKAGE, - onConstructor_ = {@VisibleForTesting}) -@Getter( - value = PACKAGE, - onMethod_ = {@VisibleForTesting}) +@AllArgsConstructor(access = PACKAGE) +@Getter(value = PACKAGE) @SupportedAnnotationTypes("dev.cookiecode.stylesniffer.annotation.RegisterCaseStyle") @SupportedSourceVersion(SourceVersion.RELEASE_21) @Flogger diff --git a/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/TemplateRenderer.java b/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/TemplateRenderer.java index 40bae69..df83709 100644 --- a/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/TemplateRenderer.java +++ b/stylesniffer-annotation-processor/src/main/java/dev/cookiecode/stylesniffer/annotation/processor/TemplateRenderer.java @@ -49,7 +49,7 @@ * @author Sebastien Vermeille * @see org.thymeleaf.context.Context */ -@RequiredArgsConstructor(onConstructor_ = {@VisibleForTesting}) +@RequiredArgsConstructor() public class TemplateRenderer { static final String TEMPLATE_FILE_NAME = "case_style_injector";