You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2017/02/18 02:24:44 UTC

[jira] [Commented] (POLYGENE-114) Make Constraint Annotations Repeatables

    [ 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)