Hi there:

For example:

package X.X.X;
Class A{
    Jbutton jb = new Jbutton ();
    jb.setToolTipText("Jbutton A");
}

pointcut MLSwing(String s):call (*
javax.swing..*+.setToolTipText(String))&&args(s)

and now if I open showWeaveInfo="true" option, the output would be as
follow:

Join point 'method-call(void javax.swing.JLabel.setText(java.lang.String))'
in Type 'X.X.X.A' (A.java:4) advised by ...


My question is any way that I can figure out the value of the argument at
weaving time? here is "Jbutton A" !

so the new output looks like:
Join point 'method-call(void
javax.swing.JLabel.setText(java.lang.String Jbutton
A))' in Type 'X.X.X.A' (A.java:4) advised by ...

Thanks very much!

wei sun
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to