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.

Tracing.aj 374B

123456789101112131415161718192021222324252627
  1. public aspect Tracing {
  2. pointcut publicMethods() : execution(public * *(..));
  3. before() : publicMethods() {
  4. System.out.println("Entering "+thisJoinPoint);
  5. }
  6. }
  7. class MainClass {
  8. public static void main(String[] args) {
  9. }
  10. public String toString() {
  11. return super.toString();
  12. }
  13. public int hashCode() {
  14. return super.hashCode();
  15. }
  16. }