title: Adding extra parameter to method?
body: <p>I have below aspect.</p>
  
  <pre><code>@Around("somePublicMethod()")
      public Object doAction(ProceedingJoinPoint call) throws Throwable {
          SomeObject client = null;
          Object result = null;
  
          try
          {
              client = someDao.getResult();
  
  
              Object[] allArgs = call.getArgs();
              allArgs[allArgs.length-1] = client;
  
              // Do the call, passing in the managed SiperianClientWrapper
              result = call.proceed(allArgs);
          }
          catch(Exception ex)
          {
  
              throw ex;
          }
  </code></pre>
  
  <p>I have one service method as below. This method is intercepted by above aspect</p>
  
  <pre><code>public SomeEntity getEntities(String name, String pwd, SomeObject client){
  
  //some logic
  
  
  }
  </code></pre>
  
  <p>above method is called as below.</p>
  
  <pre><code>someService.getEntities("name","pwd",null);
  </code></pre>
  
  <p>What aspect does is, SomeObject has null and null is replaced by some actual value.</p>
  
  <p>My question is instead of passing null as a parameter value, is it possible to add an extra parameter using Reflection with in the Aspect? In my case SomeObject parameter can be added dynamically?</p>
  
  <p>so that finally i have to call the service as <code>someService.getEntities("name","pwd");</code> and the SomeObject will be added dynamically by Aspect?</p>
  
  <p>Thanks!</p>