polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POLYGENE-114) Make Constraint Annotations Repeatables
Date Sat, 18 Feb 2017 02:24:44 GMT

    [ https://issues.apache.org/jira/browse/POLYGENE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872911#comment-15872911
] 

Niclas Hedhman commented on POLYGENE-114:
-----------------------------------------

Since this requires a "containing annotation", such as 

    @Constraints({
        @Constraint( Abc.class )
    })

and that in reality constraints a used mostly by custom annotations, I think this is a moot
issue and will close it.

> Make Constraint Annotations Repeatables
> ---------------------------------------
>
>                 Key: POLYGENE-114
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-114
>             Project: Polygene
>          Issue Type: Improvement
>            Reporter: Paul Merlin
>              Labels: constraints, java8
>             Fix For: 3.0
>
>
> Java 8 introduce repeating annotations.
> We should leverage this for Constraint annotations.
> See https://docs.oracle.com/javase/tutorial/java/annotations/repeating.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message