You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Aspect.java 326B

1234567891011
  1. import org.aspectj.lang.*;
  2. import org.aspectj.lang.reflect.*;
  3. aspect Aspect {
  4. before() : execution(public * (!java..*).*(..)) {
  5. SourceLocation sl = thisJoinPointStaticPart.getSourceLocation();
  6. String s = thisJoinPoint + "@" + sl.getFileName() + ":" + sl.getLine();
  7. System.err.println(s);
  8. }
  9. }