Skip to content

Commit b05fbe1

Browse files
timtebeekTeamModerne
authored andcommitted
refactor: Reorder annotations alphabetically
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.staticanalysis.ReorderAnnotations?organizationId=QUxML09wZW4gU291cmNlL09wZW5SZXdyaXRl Co-authored-by: Moderne <[email protected]>
1 parent 29599f9 commit b05fbe1

File tree

112 files changed

+171
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+171
-171
lines changed

src/main/java/org/openrewrite/java/migrate/AddJDeprScanPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
* This imperative recipe will add the jdeprscan plugin to a maven project. In the case of a multi-module project,
3030
* this recipe will attempt to add the plugin to only the top level project.
3131
*/
32+
@Getter
3233
@Incubating(since = "0.2.0")
3334
@RequiredArgsConstructor
34-
@Getter
3535
public class AddJDeprScanPlugin extends Recipe {
3636

3737
@Option(displayName = "release", description = "Specifies the Java SE release that provides the set of deprecated APIs for scanning.", required = false, example = "11")

src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
import static org.openrewrite.java.tree.J.ClassDeclaration.Kind.Type.Interface;
2929

30-
@Value
3130
@EqualsAndHashCode(callSuper = false)
31+
@Value
3232
public class AddMissingMethodImplementation extends Recipe {
3333

3434
@Option(displayName = "Fully qualified class name",

src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
* This imperative recipe will add the maven jar plugin to a maven project. The maven jar plugin will be configured to suppress
3131
* Illegal Reflection Warnings. In the case of a multi-module project, this recipe will attempt to add the plugin to only the top level project.
3232
*/
33-
@Incubating(since = "0.2.0")
33+
@EqualsAndHashCode(callSuper = false)
3434
@Getter
35+
@Incubating(since = "0.2.0")
3536
@RequiredArgsConstructor
36-
@EqualsAndHashCode(callSuper = false)
3737
public class AddSuppressionForIllegalReflectionWarningsPlugin extends Recipe {
3838

3939
private static final XPathMatcher PACKAGING_MATCHER = new XPathMatcher("/project/packaging");

src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
import java.util.regex.Matcher;
2929
import java.util.regex.Pattern;
3030

31-
@Value
3231
@EqualsAndHashCode(callSuper = false)
32+
@Value
3333
public class BeanDiscovery extends Recipe {
3434

3535
private static final XPathMatcher BEANS_MATCHER = new XPathMatcher("/beans");

src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
import static java.util.stream.Collectors.toMap;
2929

30-
@Value
3130
@EqualsAndHashCode(callSuper = false)
31+
@Value
3232
public class BeansXmlNamespace extends Recipe {
3333

3434
private static final XPathMatcher BEANS_MATCHER = new XPathMatcher("/beans");

src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
/**
2828
* @deprecated in favor of {@link org.openrewrite.java.ChangeMethodInvocationReturnType}.
2929
*/
30-
@Value
31-
@EqualsAndHashCode(callSuper = false)
3230
@Deprecated
31+
@EqualsAndHashCode(callSuper = false)
32+
@Value
3333
public class ChangeMethodInvocationReturnType extends Recipe {
3434

3535
@Option(displayName = "Method pattern",

src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
import static java.util.Collections.emptyList;
3737
import static org.openrewrite.internal.StringUtils.uncapitalize;
3838

39-
@Value
4039
@EqualsAndHashCode(callSuper = false)
40+
@Value
4141
public class DontOverfetchDto extends Recipe {
4242

4343
@Option(displayName = "DTO type",

src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
import static org.openrewrite.xml.AddOrUpdateChild.addOrUpdateChild;
3434
import static org.openrewrite.xml.FilterTagChildrenVisitor.filterTagChildren;
3535

36-
@Value
3736
@EqualsAndHashCode(callSuper = false)
37+
@Value
3838
public class JpaCacheProperties extends Recipe {
3939
@Override
4040
public String getDisplayName() {

src/main/java/org/openrewrite/java/migrate/MXBeanRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
import static org.openrewrite.java.tree.J.ClassDeclaration.Kind.Type.Interface;
4242
import static org.openrewrite.staticanalysis.ModifierOrder.sortModifiers;
4343

44-
@Value
4544
@EqualsAndHashCode(callSuper = false)
45+
@Value
4646
public class MXBeanRule extends Recipe {
4747

4848
@Override

src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
import org.openrewrite.java.tree.TypeUtils;
3131

3232

33-
@Value
3433
@EqualsAndHashCode(callSuper = false)
34+
@Value
3535
public class ReferenceCloneMethod extends Recipe {
3636
private static final MethodMatcher REFERENCE_CLONE = new MethodMatcher("java.lang.ref.Reference clone()", true);
3737

0 commit comments

Comments
 (0)