Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

[eclipse/xtext-extras#704] mark JvmMember.identifier non derived + settable #715

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

cdietrich
Copy link
Member

[#704] mark JvmMember.identifier non derived + settable

Signed-off-by: Christian Dietrich [email protected]

@cdietrich cdietrich added this to the Release_2.26 milestone Aug 9, 2021
@cdietrich cdietrich requested a review from szarnekow August 9, 2021 07:30
@cdietrich
Copy link
Member Author

am not sure if this could trigger serialilization problems in wired subclasses

@@ -211,7 +211,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="#//JvmVisibility"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="simpleName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
changeable="false" transient="true" derived="true"/>
transient="true"/>
Copy link
Member Author

Choose a reason for hiding this comment

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

i assume the normal transient value handling will also handle this correct during serialization

@cdietrich
Copy link
Member Author

to test: run org.eclipse.xtext.xbase.tests.serializer.SerializerTest with java 16 on master vs on this branch

Copy link
Contributor

@szarnekow szarnekow left a comment

Choose a reason for hiding this comment

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

In some cases we added @since tags for model changes.
Nevertheless, I'm ok with this one being not "announced" as a new API.

@cdietrich cdietrich merged commit 098efcc into master Aug 16, 2021
@cdietrich cdietrich deleted the cd_jvmTypesTest branch August 16, 2021 17:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AbstractClassMirror.findMember(EObject, String) fails when inner class is used in signature of member before
2 participants