title: AspectJ Pointcut for methods taking any number arguments of types Serializable or primitive type
body: <p>How would I write a Pointcut for methods taking any number of arguments that either implements Serializable or are of primitive type?</p>
  
  <p>E.g. Pointcut should match: </p>
  
  <pre><code>methodA(String str, int i)
  methodB(String str, String str2, List&lt;String&gt; list)
  </code></pre>
  
  <p>but not </p>
  
  <pre><code>methodC(String str, DataX data)
  </code></pre>
  
  <p>where DataX is not Serializable</p>