title: AspectJ JoinPoint question
body: <p>I am currently using JoinPoint to capture the parameters passed to service methods at runtime. Though JoinPoint helps me retrieve the parameter values, I see that it doesn't provide any good API to retrieve the names of the parameters, parameter types, individual parameter values when the parameter passed is an array etc.</p>
  
  <p>Here's an example:</p>
  
  <pre><code>public void doIt(String user, Attribute[] attr, Integer[] i, boolean bool, List&lt;Attribute&gt; list){.....}
  </code></pre>
  
  <p>For the above method, when I use JoinPoint.getArgs(), i see a garbage value for the parameter which is an array or a collection. If the parameter is an array or a collection, how can I verify if they are one of those and how can I traverse them to retrieve individual values?</p>
  
  <p>Any suggestions ? 
  Thanks</p>