Add validation of cyclic inheritance for declared types
See original GitHub issueCurrently, no validation of this code, where type X
extends Y
, Y
extends Z
and Z
extends X
.
interface X extends Y {}
interface Y extends Z {}
interface Z extends X {}
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Circular Inheritance for validation - Stack Overflow
I want to build an object model that automatically wires in validation when I attempt to save an object. I am using DataAnnotations...
Read more >Hibernate Validator 5.2.5.Final - JBoss.org
Constraint inheritance. When a class implements an interface or extends another class, all constraint annotations declared on the super-type apply in the same ......
Read more >[JDK-8057651] Different error message should be generated if cyclic ...
JDK-8057651Different error message should be generated if cyclic inheritance logic involves Object class ; JDK-8047379Inference of formal type parameter (unused ...
Read more >Inheritance Relationship - an overview | ScienceDirect Topics
When we create a specialized class, it inherits all the attributes, operations and relationships of the parent class. In Figure 4.14, the specialized...
Read more >packaging a java plugin as in the doc fails with "illegal cyclic ...
I start with the basic example with hello.jar from the doc, and use openmole 12 snapshot. ... I tried with other machines and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pluralia Sure, I’d be happy to - it will just take me a few days. I’m not sure that @msujew had a PR from me on his Christmas list. 😃
I implemented something similar to this when I was attempting to learn how to use Langium.
Helper Functions
Validator
Test Code
Not sure how helpful this is since it was married to my own nascent type computation implementation, but it worked for what I was attempting to do. Hopefully this saves you some time. 😃