Github user jerrypeng commented on the pull request:

    https://github.com/apache/storm/pull/785#issuecomment-146948299
  
    @revans2 I don't think you solution will work either.  I don't think we can 
get recursion and java annotations to work,  since fields in annotations cannot 
default to a specific non-null type.  To have annotations that contain fields 
of it self will result in a unending recursive definition:
    
            ComplexValidator key() default  
@ComplexValidator(type=Object.class, key=@ComplexValidator(type=Object.class, 
key=@ComplexValidator(...), value=ComplexValidator(ype=Object.class, 
key=@ComplexValidator(...));



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to