Validate @AppliesTo declaration on Concern, Mixin and SideEffect
----------------------------------------------------------------

                 Key: QIDEA-1
                 URL: http://issues.ops4j.org/jira/browse/QIDEA-1
             Project: Qi4j Idea Plugin
          Issue Type: New Feature
          Components: appliesTo, concern, side-effect
            Reporter: Edward Yakop
            Assignee: Edward Yakop


Validate @AppliesTo declarations on concern, mixin and side-effect.

Requirements:
1. @AppliesTo annotation must be declared on a class.

For each value of @AppliesTo, check that:
1. If value is an Annotation class reference or class reference that implements 
AppliesToFilter interface.
    Class that has @AppliesTo annotation must be either:
    1. Implements InvocationHandler; or
    2. Extends GenericConcern; or
    3. Extends GenericSideEffect
2. If @AppliesTo value is a class reference to an interface.
    Class that has @AppliesTo annotation must be either:
    1. Implements that interface
    2. Implements InvocationHandler

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to