Skip to content

improve array extraction for PsiAnnotationMemberValues#270

Merged
filiphr merged 1 commit into
mapstruct:mainfrom
hduelme:improve-array-extraction-for-PsiAnnotationMemberValues
Jul 4, 2026
Merged

improve array extraction for PsiAnnotationMemberValues#270
filiphr merged 1 commit into
mapstruct:mainfrom
hduelme:improve-array-extraction-for-PsiAnnotationMemberValues

Conversation

@hduelme

@hduelme hduelme commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

IntelliJ has an build in function arrayAttributeValues for value extraction from PsiAnnotationMemberValue.

arrayAttributeValues always returns the array/none array values as an list.

@thunderhook thunderhook left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's always nice to see instanceof checks being reduced. Thanks!

@filiphr filiphr merged commit afc9eed into mapstruct:main Jul 4, 2026
6 of 7 checks passed
@filiphr filiphr added this to the 1.10.0 milestone Jul 4, 2026
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.

3 participants