Rob Sonke commented on Bug QDOX-247

I solved this for myself by some minor changes in AbstractJavaEntity:

protected void write(IndentBuffer result) {
        commentHeader(result);
        // added custom method for printing annotations
        writeAnnotations(result);
        writeBody(result);
    }
    
    protected void writeAnnotations(IndentBuffer result)
    {
    	Annotation[] annotations = this.getAnnotations();
    	
    	for (int i = 0; i < annotations.length; i++) {
    		result.write(annotations[i].toString());
			result.newline();
		}
    }

This works fine so far. It's not working for method parameter annotations as that's handled inside the JavaMethod class but adding support for that should be easy.

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