[jboss-jira] [JBoss JIRA] (JASSIST-197) Method parameters can not be accessed when using MethodCall.replace

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Sat May 25 23:43:06 EDT 2013


    [ https://issues.jboss.org/browse/JASSIST-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777015#comment-12777015 ] 

Shigeru Chiba commented on JASSIST-197:
---------------------------------------

I see. Do do you want to use something like $e0, $e1, ... (the arguments
of the "e"nclosing method example()) as well as $0, $1, .., which refers to the
arguments passed to postEvent()?
                
> Method parameters can not be accessed when using MethodCall.replace
> -------------------------------------------------------------------
>
>                 Key: JASSIST-197
>                 URL: https://issues.jboss.org/browse/JASSIST-197
>             Project: Javassist
>          Issue Type: Feature Request
>    Affects Versions: 3.17.1-GA
>            Reporter: Ross Allan
>            Assignee: Shigeru Chiba
>
> When instrumenting and using MethodCall.replace there does not seem to be any way to access the parameters of the method which the method call is in, it is only possible to access the parameters of the method call.

--
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


More information about the jboss-jira mailing list