diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AmbiguousJsonCreator.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AmbiguousJsonCreator.java index a7e4329914..8eec308ef1 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AmbiguousJsonCreator.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AmbiguousJsonCreator.java @@ -36,7 +36,7 @@ public final class AmbiguousJsonCreator extends BugChecker implements Annotation private static final Matcher IS_JSON_CREATOR_ANNOTATION = isType("com.fasterxml.jackson.annotation.JsonCreator"); - /** Instantiates the default {@link AmbiguousJsonCreator}. */ + /** Instantiates a new {@link AmbiguousJsonCreator} instance. */ public AmbiguousJsonCreator() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssertJIsNull.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssertJIsNull.java index 32924d865d..b8381aa061 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssertJIsNull.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssertJIsNull.java @@ -44,7 +44,7 @@ public final class AssertJIsNull extends BugChecker implements MethodInvocationT argumentCount(1), argument(0, nullLiteral())); - /** Instantiates the default {@link AssertJIsNull}. */ + /** Instantiates a new {@link AssertJIsNull} instance. */ public AssertJIsNull() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java index da694f88e6..4bdc29593a 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java @@ -38,7 +38,7 @@ public final class AutowiredConstructor extends BugChecker implements ClassTreeM private static final MultiMatcher AUTOWIRED_ANNOTATION = annotations(AT_LEAST_ONE, isType("org.springframework.beans.factory.annotation.Autowired")); - /** Instantiates the default {@link AutowiredConstructor}. */ + /** Instantiates a new {@link AutowiredConstructor} instance. */ public AutowiredConstructor() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java index fa4a2b7646..b2073c7167 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java @@ -46,7 +46,7 @@ public final class CanonicalAnnotationSyntax extends BugChecker implements Annot CanonicalAnnotationSyntax::dropRedundantValueAttribute, CanonicalAnnotationSyntax::dropRedundantCurlies); - /** Instantiates the default {@link CanonicalAnnotationSyntax}. */ + /** Instantiates a new {@link CanonicalAnnotationSyntax} instance. */ public CanonicalAnnotationSyntax() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CollectorMutability.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CollectorMutability.java index 3ef673e316..a715b613a2 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CollectorMutability.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CollectorMutability.java @@ -45,7 +45,7 @@ public final class CollectorMutability extends BugChecker implements MethodInvoc private static final Matcher SET_COLLECTOR = staticMethod().anyClass().named("toSet"); - /** Instantiates the default {@link CollectorMutability}. */ + /** Instantiates a new {@link CollectorMutability} instance. */ public CollectorMutability() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/EmptyMethod.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/EmptyMethod.java index daca920ab0..a6706cd7a8 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/EmptyMethod.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/EmptyMethod.java @@ -38,7 +38,7 @@ public final class EmptyMethod extends BugChecker implements MethodTreeMatcher { AT_LEAST_ONE, anyOf(isType("java.lang.Override"), isType("org.aspectj.lang.annotation.Pointcut"))); - /** Instantiates the default {@link EmptyMethod}. */ + /** Instantiates a new {@link EmptyMethod} instance. */ public EmptyMethod() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java index 917e8c2947..cec01c623d 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java @@ -72,7 +72,7 @@ public final class ErrorProneTestHelperSourceFormat extends BugChecker .onDescendantOf("com.google.errorprone.BugCheckerRefactoringTestHelper.ExpectOutput") .named("addOutputLines"); - /** Instantiates the default {@link ErrorProneTestHelperSourceFormat}. */ + /** Instantiates a new {@link ErrorProneTestHelperSourceFormat} instance. */ public ErrorProneTestHelperSourceFormat() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExplicitEnumOrdering.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExplicitEnumOrdering.java index 9ee9e8e11c..b04f78073d 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExplicitEnumOrdering.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExplicitEnumOrdering.java @@ -46,7 +46,7 @@ public final class ExplicitEnumOrdering extends BugChecker implements MethodInvo private static final Matcher EXPLICIT_ORDERING = staticMethod().onClass(Ordering.class.getName()).named("explicit"); - /** Instantiates the default {@link ExplicitEnumOrdering}. */ + /** Instantiates a new {@link ExplicitEnumOrdering} instance. */ public ExplicitEnumOrdering() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FluxFlatMapUsage.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FluxFlatMapUsage.java index 66cf947930..a449084b84 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FluxFlatMapUsage.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FluxFlatMapUsage.java @@ -58,7 +58,7 @@ public final class FluxFlatMapUsage extends BugChecker .namedAnyOf("flatMap", "flatMapSequential") .withParameters(Function.class.getName()); - /** Instantiates the default {@link FluxFlatMapUsage}. */ + /** Instantiates a new {@link FluxFlatMapUsage} instance. */ public FluxFlatMapUsage() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FormatStringConcatenation.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FormatStringConcatenation.java index 04d552daa7..c0618bcbed 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FormatStringConcatenation.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/FormatStringConcatenation.java @@ -129,7 +129,7 @@ public final class FormatStringConcatenation extends BugChecker .onDescendantOf("org.slf4j.Logger") .namedAnyOf("debug", "error", "info", "trace", "warn"); - /** Instantiates the default {@link FormatStringConcatenation}. */ + /** Instantiates a new {@link FormatStringConcatenation} instance. */ public FormatStringConcatenation() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/IdentityConversion.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/IdentityConversion.java index a7c567de47..00d6d9bdcb 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/IdentityConversion.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/IdentityConversion.java @@ -72,7 +72,7 @@ public final class IdentityConversion extends BugChecker implements MethodInvoca .namedAnyOf("concat", "firstWithSignal", "from", "merge"), staticMethod().onClass("reactor.core.publisher.Mono").namedAnyOf("from", "fromDirect")); - /** Instantiates the default {@link IdentityConversion}. */ + /** Instantiates a new {@link IdentityConversion} instance. */ public IdentityConversion() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ImmutablesSortedSetComparator.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ImmutablesSortedSetComparator.java index cf1e8a1f01..468a2dcc82 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ImmutablesSortedSetComparator.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ImmutablesSortedSetComparator.java @@ -67,7 +67,7 @@ public final class ImmutablesSortedSetComparator extends BugChecker implements M hasAnnotation("org.immutables.value.Value.NaturalOrder"), hasAnnotation("org.immutables.value.Value.ReverseOrder")))); - /** Instantiates the default {@link ImmutablesSortedSetComparator}. */ + /** Instantiates a new {@link ImmutablesSortedSetComparator} instance. */ public ImmutablesSortedSetComparator() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/JUnitMethodDeclaration.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/JUnitMethodDeclaration.java index 4542054027..26373ba53e 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/JUnitMethodDeclaration.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/JUnitMethodDeclaration.java @@ -79,7 +79,7 @@ public final class JUnitMethodDeclaration extends BugChecker implements MethodTr isType("org.junit.jupiter.api.BeforeAll"), isType("org.junit.jupiter.api.BeforeEach"))); - /** Instantiates the default {@link JUnitMethodDeclaration}. */ + /** Instantiates a new {@link JUnitMethodDeclaration} instance. */ public JUnitMethodDeclaration() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationAttributeListing.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationAttributeListing.java index 21ded55dfd..2a2bf7357d 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationAttributeListing.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationAttributeListing.java @@ -82,7 +82,7 @@ public final class LexicographicalAnnotationAttributeListing extends BugChecker private final AnnotationAttributeMatcher matcher; - /** Instantiates the default {@link LexicographicalAnnotationAttributeListing}. */ + /** Instantiates a default {@link LexicographicalAnnotationAttributeListing} instance. */ public LexicographicalAnnotationAttributeListing() { this(ErrorProneFlags.empty()); } diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationListing.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationListing.java index f45826d4cc..660458f29d 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationListing.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/LexicographicalAnnotationListing.java @@ -40,7 +40,7 @@ public final class LexicographicalAnnotationListing extends BugChecker implements MethodTreeMatcher { private static final long serialVersionUID = 1L; - /** Instantiates the default {@link LexicographicalAnnotationListing}. */ + /** Instantiates a new {@link LexicographicalAnnotationListing} instance. */ public LexicographicalAnnotationListing() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MethodReferenceUsage.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MethodReferenceUsage.java index 769a45d7b0..bc3d2afc85 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MethodReferenceUsage.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MethodReferenceUsage.java @@ -60,7 +60,7 @@ public final class MethodReferenceUsage extends BugChecker implements LambdaExpressionTreeMatcher { private static final long serialVersionUID = 1L; - /** Instantiates the default {@link MethodReferenceUsage}. */ + /** Instantiates a new {@link MethodReferenceUsage} instance. */ public MethodReferenceUsage() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MissingRefasterAnnotation.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MissingRefasterAnnotation.java index d45aefdf64..12c71af619 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MissingRefasterAnnotation.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MissingRefasterAnnotation.java @@ -40,7 +40,7 @@ public final class MissingRefasterAnnotation extends BugChecker implements Class isType("com.google.errorprone.refaster.annotation.BeforeTemplate"), isType("com.google.errorprone.refaster.annotation.AfterTemplate"))); - /** Instantiates the default {@link MissingRefasterAnnotation}. */ + /** Instantiates a new {@link MissingRefasterAnnotation} instance. */ public MissingRefasterAnnotation() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MockitoStubbing.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MockitoStubbing.java index 3f97a70085..396e589158 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MockitoStubbing.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MockitoStubbing.java @@ -36,7 +36,7 @@ public final class MockitoStubbing extends BugChecker implements MethodInvocatio private static final Matcher MOCKITO_EQ_METHOD = staticMethod().onClass("org.mockito.ArgumentMatchers").named("eq"); - /** Instantiates the default {@link MockitoStubbing}. */ + /** Instantiates a new {@link MockitoStubbing} instance. */ public MockitoStubbing() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NestedOptionals.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NestedOptionals.java index 7a9eab1c75..1c6228e29e 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NestedOptionals.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NestedOptionals.java @@ -34,7 +34,7 @@ public final class NestedOptionals extends BugChecker implements MethodInvocatio private static final long serialVersionUID = 1L; private static final Supplier OPTIONAL = Suppliers.typeFromClass(Optional.class); - /** Instantiates the default {@link NestedOptionals}. */ + /** Instantiates a new {@link NestedOptionals} instance. */ public NestedOptionals() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NonEmptyMono.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NonEmptyMono.java index 72689078d4..87514bdbc2 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NonEmptyMono.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/NonEmptyMono.java @@ -76,7 +76,7 @@ public final class NonEmptyMono extends BugChecker implements MethodInvocationTr .onDescendantOf("reactor.core.publisher.Mono") .namedAnyOf("defaultIfEmpty", "hasElement", "single")); - /** Instantiates the default {@link NonEmptyMono}. */ + /** Instantiates a new {@link NonEmptyMono} instance. */ public NonEmptyMono() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/PrimitiveComparison.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/PrimitiveComparison.java index 80fed6ae30..bd26e35d3f 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/PrimitiveComparison.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/PrimitiveComparison.java @@ -70,7 +70,7 @@ public final class PrimitiveComparison extends BugChecker implements MethodInvoc .named("thenComparing") .withParameters(Function.class.getName())); - /** Instantiates the default {@link PrimitiveComparison}. */ + /** Instantiates a new {@link PrimitiveComparison} instance. */ public PrimitiveComparison() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RedundantStringConversion.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RedundantStringConversion.java index e6dd92e66a..fae14e3d36 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RedundantStringConversion.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RedundantStringConversion.java @@ -141,7 +141,7 @@ public final class RedundantStringConversion extends BugChecker private final Matcher conversionMethodMatcher; - /** Instantiates the default {@link RedundantStringConversion}. */ + /** Instantiates a default {@link RedundantStringConversion} instance. */ public RedundantStringConversion() { this(ErrorProneFlags.empty()); } diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterAnyOfUsage.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterAnyOfUsage.java index 0332ce4447..97e6814644 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterAnyOfUsage.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterAnyOfUsage.java @@ -37,7 +37,7 @@ public final class RefasterAnyOfUsage extends BugChecker implements MethodInvoca private static final Matcher REFASTER_ANY_OF = staticMethod().onClass(Refaster.class.getName()).named("anyOf"); - /** Instantiates the default {@link RefasterAnyOfUsage}. */ + /** Instantiates a new {@link RefasterAnyOfUsage} instance. */ public RefasterAnyOfUsage() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterRuleModifiers.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterRuleModifiers.java index 88caa564e7..5cd6a5db49 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterRuleModifiers.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RefasterRuleModifiers.java @@ -48,7 +48,7 @@ public final class RefasterRuleModifiers extends BugChecker private static final Matcher REFASTER_METHOD = anyOf(BEFORE_TEMPLATE_METHOD, AFTER_TEMPLATE_METHOD, PLACEHOLDER_METHOD); - /** Instantiates the default {@link RefasterRuleModifiers}. */ + /** Instantiates a new {@link RefasterRuleModifiers} instance. */ public RefasterRuleModifiers() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotation.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotation.java index 75f6a9b2b6..df0dbe330e 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotation.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotation.java @@ -83,7 +83,7 @@ public final class RequestMappingAnnotation extends BugChecker implements Method isSameType("org.springframework.web.util.UriBuilder"), isSameType("org.springframework.web.util.UriComponentsBuilder")))); - /** Instantiates the default {@link RequestMappingAnnotation}. */ + /** Instantiates a new {@link RequestMappingAnnotation} instance. */ public RequestMappingAnnotation() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestParamType.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestParamType.java index 9b74ee1632..eb076e3867 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestParamType.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/RequestParamType.java @@ -37,7 +37,7 @@ public final class RequestParamType extends BugChecker implements VariableTreeMa annotations(AT_LEAST_ONE, isType("org.springframework.web.bind.annotation.RequestParam")), anyOf(isSubtypeOf(ImmutableCollection.class), isSubtypeOf(ImmutableMap.class))); - /** Instantiates the default {@link RequestParamType}. */ + /** Instantiates a new {@link RequestParamType} instance. */ public RequestParamType() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ScheduledTransactionTrace.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ScheduledTransactionTrace.java index db8fb48846..a23a6ceeb6 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ScheduledTransactionTrace.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ScheduledTransactionTrace.java @@ -46,7 +46,7 @@ public final class ScheduledTransactionTrace extends BugChecker implements Metho private static final MultiMatcher TRACE_ANNOTATION = annotations(AT_LEAST_ONE, isType(TRACE_ANNOTATION_FQCN)); - /** Instantiates the default {@link ScheduledTransactionTrace}. */ + /** Instantiates a new {@link ScheduledTransactionTrace} instance. */ public ScheduledTransactionTrace() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogStatement.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogStatement.java index 39760d26e0..5d628a31d5 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogStatement.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogStatement.java @@ -48,7 +48,7 @@ public final class Slf4jLogStatement extends BugChecker implements MethodInvocat .onDescendantOf("org.slf4j.Logger") .namedAnyOf("trace", "debug", "info", "warn", "error"); - /** Instantiates the default {@link Slf4jLogStatement}. */ + /** Instantiates a new {@link Slf4jLogStatement} instance. */ public Slf4jLogStatement() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/SpringMvcAnnotation.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/SpringMvcAnnotation.java index 719c1c4543..97cad60805 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/SpringMvcAnnotation.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/SpringMvcAnnotation.java @@ -57,7 +57,7 @@ public final class SpringMvcAnnotation extends BugChecker implements AnnotationT .put("PUT", "PutMapping") .build(); - /** Instantiates the default {@link SpringMvcAnnotation}. */ + /** Instantiates a new {@link SpringMvcAnnotation} instance. */ public SpringMvcAnnotation() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java index eb88282e15..d5bc39c5ec 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java @@ -190,7 +190,7 @@ public final class StaticImport extends BugChecker implements MemberSelectTreeMa "of", "valueOf"); - /** Instantiates the default {@link StaticImport}. */ + /** Instantiates a new {@link StaticImport} instance. */ public StaticImport() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StringJoin.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StringJoin.java index 2eed47088c..76359780b4 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StringJoin.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StringJoin.java @@ -52,7 +52,7 @@ public final class StringJoin extends BugChecker implements MethodInvocationTree Suppliers.typeFromClass(CharSequence.class); private static final Supplier FORMATTABLE_TYPE = Suppliers.typeFromClass(Formattable.class); - /** Instantiates the default {@link StringJoin}. */ + /** Instantiates a new {@link StringJoin} instance. */ public StringJoin() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/TimeZoneUsage.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/TimeZoneUsage.java index 627d980175..1bda1d207b 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/TimeZoneUsage.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/TimeZoneUsage.java @@ -62,7 +62,7 @@ public final class TimeZoneUsage extends BugChecker implements MethodInvocationT .named("now"), staticMethod().onClassAny(Instant.class.getName()).named("now").withNoParameters()); - /** Instantiates the default {@link TimeZoneUsage}. */ + /** Instantiates a new {@link TimeZoneUsage} instance. */ public TimeZoneUsage() {} @Override diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/MethodMatcherFactory.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/MethodMatcherFactory.java index 6ed4275237..2a89521483 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/MethodMatcherFactory.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/MethodMatcherFactory.java @@ -21,7 +21,7 @@ public final class MethodMatcherFactory { private static final Pattern METHOD_SIGNATURE = Pattern.compile("([^\\s#(,)]+)#([^\\s#(,)]+)\\(((?:[^\\s#(,)]+(?:,[^\\s#(,)]+)*)?)\\)"); - /** Instantiates the default {@link MethodMatcherFactory}. */ + /** Instantiates a new {@link MethodMatcherFactory} instance. */ public MethodMatcherFactory() {} /** diff --git a/refaster-compiler/src/main/java/tech/picnic/errorprone/refaster/plugin/RefasterRuleCompiler.java b/refaster-compiler/src/main/java/tech/picnic/errorprone/refaster/plugin/RefasterRuleCompiler.java index 8ba402e100..e7423961df 100644 --- a/refaster-compiler/src/main/java/tech/picnic/errorprone/refaster/plugin/RefasterRuleCompiler.java +++ b/refaster-compiler/src/main/java/tech/picnic/errorprone/refaster/plugin/RefasterRuleCompiler.java @@ -12,7 +12,7 @@ */ @AutoService(Plugin.class) public final class RefasterRuleCompiler implements Plugin { - /** Instantiates the default {@link RefasterRuleCompiler}. */ + /** Instantiates a new {@link RefasterRuleCompiler} instance. */ public RefasterRuleCompiler() {} @Override diff --git a/refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/Refaster.java b/refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/Refaster.java index d861451dcd..6e4cd38c23 100644 --- a/refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/Refaster.java +++ b/refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/Refaster.java @@ -61,11 +61,10 @@ public final class Refaster extends BugChecker implements CompilationUnitTreeMat private static final long serialVersionUID = 1L; - // For more details, see https://bugs.openjdk.org/browse/JDK-8274336. - @SuppressWarnings("serial") + @SuppressWarnings("serial" /* Concrete instance will be `Serializable`. */) private final CodeTransformer codeTransformer; - /** Instantiates the default {@link Refaster}. */ + /** Instantiates a default {@link Refaster} instance. */ public Refaster() { this(ErrorProneFlags.empty()); } diff --git a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsArray.java b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsArray.java index b7130afd91..83ecaa9521 100644 --- a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsArray.java +++ b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsArray.java @@ -11,7 +11,7 @@ public final class IsArray implements Matcher { private static final long serialVersionUID = 1L; private static final Matcher DELEGATE = isArrayType(); - /** Instantiates the default {@link IsArray}. */ + /** Instantiates a new {@link IsArray} instance. */ public IsArray() {} @Override diff --git a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsCharacter.java b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsCharacter.java index 07054f0002..f5db5d5317 100644 --- a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsCharacter.java +++ b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/IsCharacter.java @@ -14,7 +14,7 @@ public final class IsCharacter implements Matcher { private static final Matcher DELEGATE = anyOf(isSameType(CHAR_TYPE), isSameType(Character.class)); - /** Instantiates the default {@link IsCharacter}. */ + /** Instantiates a new {@link IsCharacter} instance. */ public IsCharacter() {} @Override diff --git a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/ThrowsCheckedException.java b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/ThrowsCheckedException.java index 5cea0a62f0..71989ea1e0 100644 --- a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/ThrowsCheckedException.java +++ b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/matchers/ThrowsCheckedException.java @@ -19,7 +19,7 @@ public final class ThrowsCheckedException implements Matcher { private static final long serialVersionUID = 1L; - /** Instantiates the default {@link ThrowsCheckedException}. */ + /** Instantiates a new {@link ThrowsCheckedException} instance. */ public ThrowsCheckedException() {} @Override