Skip to content

feat: add @Transient navigation to resolver or generated implementation#185

Open
zjarlin wants to merge 3 commits into
Enaium:masterfrom
zjarlin:codex/transient-property-goto-impl
Open

feat: add @Transient navigation to resolver or generated implementation#185
zjarlin wants to merge 3 commits into
Enaium:masterfrom
zjarlin:codex/transient-property-goto-impl

Conversation

@zjarlin

@zjarlin zjarlin commented Jun 26, 2026

Copy link
Copy Markdown

Summary

Add gutter navigation for @Transient properties/methods in Jimmer immutable interfaces.

Changes

  • If @Transient(value = ...) or @Transient(ref = ...) is present, navigate to the resolver class or Spring bean target.
  • Otherwise, fall back to the matching generated implementation member.
  • Add generated source lookup helpers for Java and Kotlin immutable classes.
  • Add generated method/property targets to the existing immutable property line marker.

Scope

This PR only covers @Transient navigation behavior. Search filtering and tool window filtering stay in separate PRs.

Testing

  • bash ./gradlew :core:compileKotlin --no-daemon

@zjarlin zjarlin force-pushed the codex/transient-property-goto-impl branch from 8fc9c32 to 4e03d71 Compare June 26, 2026 08:58

@Enaium Enaium left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can not to compile

@zjarlin zjarlin force-pushed the codex/transient-property-goto-impl branch from 3d3d06f to 626ad57 Compare June 27, 2026 23:40
Prefer the resolver declared by @transient(value = ...) or @transient(ref = ...)
when present, and only fall back to the generated implementation class when
no resolver target can be resolved.
@zjarlin zjarlin changed the title feat: add navigation from @Transient properties to generated implementation class feat: add @Transient navigation to resolver or generated implementation Jun 29, 2026
Register a PSI reference provider for @transient(ref = "...") string literals
so Go To Declaration resolves to the matching resolver bean instead of showing
no declaration target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants