[ 
http://jira.codehaus.org/browse/QDOX-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte resolved QDOX-178.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.11
         Assignee: Robert Scholte

Fix in [rev-676 | http://fisheye.codehaus.org/changelog/qdox/?cs=676]

> Annotations on method parameters are inaccessible
> -------------------------------------------------
>
>                 Key: QDOX-178
>                 URL: http://jira.codehaus.org/browse/QDOX-178
>             Project: QDox
>          Issue Type: New Feature
>          Components: Java API
>    Affects Versions: 1.10
>            Reporter: Antti Karanta
>            Assignee: Robert Scholte
>             Fix For: 1.11
>
>
> Accessing annotations and its parameters is supported if the annotation is on 
> a class or a method, but annotations on method parameters are not supported - 
> there is nothing in JavaParameter to access annotations on the parameter.
> Here's a small example of using this annotation: 
>   @NativeAccessible
>   static void get_tmp_dir( String targetfilename, @ParamInfo( direction = 
> ParamInfo.Direction.OUT ) byte[] tmpDirOutput ) throws IOException {
> A code generator is used to generate the necessary JNI code to make this 
> method accessible from C/Fortran. The direction information affects whether 
> the data is copied from a native buffer before method call (in), after method 
> call (out) or both (inout). Currently we are using reflection to read the 
> annotations in the generator but would like to get rid of it .
> This is slightly related to http://jira.codehaus.org/browse/QDOX-103 but 
> apparently the fix to that issue only fixed the parsing but did not add 
> accessibility to the said annotations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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