Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(java): populate decorators field from annotations#853

Open
Liurchen wants to merge 1 commit into
colbymchenry:main from
Liurchen:fix/java-annotation-decorators
Open

fix(java): populate decorators field from annotations #853
Liurchen wants to merge 1 commit into
colbymchenry:main from
Liurchen:fix/java-annotation-decorators

Conversation

@Liurchen

@Liurchen Liurchen commented Jun 13, 2026

Copy link
Copy Markdown

Java annotations were extracted as decorates edges but never stored in the decorators field on nodes. This meant queries relying on node.decorators (e.g. "find all JPA entities") returned nothing.

Add an extractModifiers hook to the Java extractor that walks the modifiers child and collects annotation names (@Entity, @Table, @Service, @RequiredArgsConstructor, etc.) into the decorators array, matching the behaviour Kotlin already has.

Java annotations were extracted as `decorates` edges but never stored
in the `decorators` field on nodes. This meant queries relying on
node.decorators (e.g. "find all JPA entities") returned nothing.
Add an `extractModifiers` hook to the Java extractor that walks the
`modifiers` child and collects annotation names (`@Entity`, `@Table`,
`@Service`, `@RequiredArgsConstructor`, etc.) into the decorators
array, matching the behaviour Kotlin already has.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /