java - AspectJ: parameter binding with 'args()' for methods with multiple parameters -


I am facing a problem that would make a aspect before for a method containing multiple parameters Are there. Public class sample {public boolean myCall (string s, string s 1, string s3, bytebuffer bytes, int i, int g) {System.out.println ("real sample calling "); }}

This aspect does not match. I need to use only the bitbuffer parameter in the override code.

  Bidctate sample call (bytebuff bytes): Execution (Boolean com.example.Sample.myCall (..)) & amp; Amp; Arg (byte); First (Bytebuffer Bytes): SampleCol (Bytes) {System.out.println ("Before the Sampler"); }    

Actually call it

  point (Bytebuffer Bytes): Execution (Boolean Comm. Example Sample Michael (string, string, string, bitebuffer, ..)) & amp; Amp; Args (string, string, string, bytes, ..); First (Bytebuffer Bytes): SampleCol (Bytes) {System.out.println ("Before the Sampler"); }    

Comments