Skip to content

add validation + quickfix to adopt @ApplicationModuleListener #1800

Closed

Description

@martinlippert

Add a valuation that checks for:

  • does the project use Spring Modulith?
  • is a method annotated with @Async, @Transactional, @TransactionalEventListener

if this applies to a method, add a reconciler diagnostics that tells users that they can use @ApplicationModuleListener instead and offer a quick fix that replaces those three annotations with @ApplicationModuleListener.

Keep in mind to transfer corresponding annotation attributes when refactoring this to @ApplicationModuleListener.

Activity

  1. added this to the 5.2.0.RELEASE milestone on Feb 16, 2026
  2. added
    for: eclipse
    for: vscode
    on Feb 16, 2026
  3. changed the title [-]add quickfix to adopt `@ApplicationModuleListener`[/-] [+]add validation + quickfix to adopt `@ApplicationModuleListener`[/+] on Feb 16, 2026
  4. added a commit that references this issue on Aug 11, 2026
  5. martinlippert commented on Aug 11, 2026

    @martinlippert
    MemberAuthor

    One thing that is still not working properly is the indentation of the added @ApplicationModuleListener annotation. Need to investigate further.

  6. martinlippert commented on Aug 11, 2026

    @martinlippert
    MemberAuthor

    Also the corresponding explanation markdown for the Claude Code plugin is missing.

  7. martinlippert commented on Aug 12, 2026

    @martinlippert
    MemberAuthor

    One thing that is still not working properly is the indentation of the added @ApplicationModuleListener annotation. Need to investigate further.

    #1962

  8. added a commit that references this issue on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

for: eclipsefor: vscodetheme: validationtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions