Skip to content

Conversation

@StephaneSeyvoz
Copy link
Member

Today, the annotations are not propagated to children types, needing unwanted duplication.

Note: The annotation system, when using inheritance, is already made to override with the children one, as coded in common-frontend/src/main/java/org.ow2.mind.annotation/AnnotationHelper.java#mergeDecoration method.

@StephaneSeyvoz
Copy link
Member Author

We realized that such behavior could lead to issues with multiple inheritance, leading to possible flags conflicts or merge.

Since no annotation merge exists, we propose to either :

  • Add some protection for this case
  • Trigger those known annotations value merge (concatenation)
  • Or to cancel the pull request, to forbid those annotations inheritance.(implying user manual duplication in children types)

@StephaneSeyvoz StephaneSeyvoz force-pushed the common-annotations-inheritance branch from 2ec71b0 to 12bbc5e Compare February 3, 2015 09:50
@StephaneSeyvoz StephaneSeyvoz force-pushed the common-annotations-inheritance branch 2 times, most recently from cd88ca1 to 3381542 Compare February 26, 2015 09:01
@StephaneSeyvoz StephaneSeyvoz force-pushed the common-annotations-inheritance branch from 3381542 to c4147c5 Compare March 9, 2015 08:48
@StephaneSeyvoz StephaneSeyvoz force-pushed the common-annotations-inheritance branch from c4147c5 to 87acb1c Compare March 9, 2015 09:27
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