Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to navigate from the declared bean property to the generated property in the java class. #624

Conversation

ekalenchuk
Copy link

Navigation from a property declared in the beans.xml to the generated java property
image
image

@mlytvyn mlytvyn changed the title Added ability to navigate from the declared bean property to the gene… Added ability to navigate from the declared bean property to the generated property in the java class. Aug 21, 2023
@mlytvyn mlytvyn added this to the Release 2023.2.6 milestone Aug 21, 2023

parent.name == "property" && attribute == "name" -> element.parentOfType<XmlTag>()
?.getParentOfType<XmlTag>(true)
?.getAttributeValue("class")
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can use constants defined in the corresponding Interface class for these class, property, name, bean, enum c

…rated property in the java class. Replace strings by constants.
@mlytvyn mlytvyn marked this pull request as ready for review August 21, 2023 08:45
@mlytvyn mlytvyn merged commit 7fa299b into epam:release/2023.2.6 Aug 21, 2023
@ekalenchuk ekalenchuk deleted the beansxml/2023.2.6/support_navigation_to_class_properties_from_xml_properties branch September 9, 2023 15:28
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