Robert Scholte closed Improvement QDOX-249 as Won't Fix

This is out of scope for QDox.
I don't want to add a getter for every type of doclettag or Annotation.
The following example is based on QDox2, it should be possible to do the same with QDox-1.x

public boolean isDeprecated( JavaAnnotatedElement elm )
    {
        for ( JavaAnnotation annotation : elm.getAnnotations() )
        {
            if ( "java.lang.Deprecated".equals( annotation.getType().getCanonicalName() ) )
            {
                return true;
            }
        }
        return elm.getTagByName( "deprecated" ) != null;
    }
Change By: Robert Scholte (04/Feb/13 1:50 PM)
Resolution: Won't Fix

        
Assignee: Robert Scholte
Status: Open Closed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to