Skip to content

Conversation

e5LA
Copy link
Contributor

@e5LA e5LA commented Sep 8, 2025

What's changed?

  • Added includeNeverExtended option that allows to finalize classes that are never extended in the codebase
  • Added excludePackages option for package pattern exclusions (e.g., com.example.api.*)
  • Added excludeAnnotations option to exclude classes with specified annotations (annotations like: @Deprecated, Deprecated, @java.lang.Deprecated)
  • Fixed inheritance chain bug

What's your motivation?

@timtebeek - FYI.

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Sep 8, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/main/java/org/openrewrite/staticanalysis/FinalClass.java
    • lines 61-61

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/main/java/org/openrewrite/staticanalysis/FinalClass.java
    • lines 61-62

@timtebeek timtebeek self-requested a review September 9, 2025 12:12
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/main/java/org/openrewrite/staticanalysis/FinalClass.java
    • lines 61-62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant