Skip to content

Refactor CollectAnnotatedSymbolsPsiVisitor#2932

Draft
jaschdoc wants to merge 2 commits intomainfrom
rewrite-psi-visitor
Draft

Refactor CollectAnnotatedSymbolsPsiVisitor#2932
jaschdoc wants to merge 2 commits intomainfrom
rewrite-psi-visitor

Conversation

@jaschdoc
Copy link
Copy Markdown
Collaborator

@jaschdoc jaschdoc commented May 6, 2026

The visitor now considers annotated elements instead of visiting annotations and then relying / knowing the internal structure of the AST to find the annotated elements. This implementation should be more resilient since it only assumes the API to be correct instead of the internal tree structure of the program.

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.

1 participant