title: AspectJ: parameter binding with 'args()' for methods with multiple parameters
body: <p>I am having some trouble creating a <code>before</code> aspect for a method that has multiple parameters.</p>
  
  <pre><code>public class Sample {
      public boolean myCall(String s, String s1, String s3, ByteBuffer bytes, int i, int g) {
          System.out.println("Calling real sample");
      }
  }
  </code></pre>
  
  <p>This aspect does not match. I only need to use the ByteBuffer parameter in the override code.</p>
  
  <pre><code>pointcut sampleCall(ByteBuffer bytes) :
      execution(boolean com.example.Sample.myCall (..)) &amp;&amp; args(bytes);
  
  before(ByteBuffer bytes) : sampleCall(bytes) {
      System.out.println("Before sample");
  }
  </code></pre>