+++ /dev/null
-public aspect Logging {\r
- \r
- pointcut methods () :\r
- execution(* *..*(..)) && !within(Logging);\r
- \r
- before () : methods () {\r
- System.err.println("> " + thisJoinPoint.getSignature().toLongString());\r
- }\r
- \r
- after () : methods () {\r
- System.err.println("< " + thisJoinPoint.getSignature().toLongString());\r
- }\r
-}\r
+++ /dev/null
-import java.io.IOException;
-
-/*
- * Created on 30-Jul-03
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-
-/**
- * @author websterm
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class Main {
-
- public void println () {
- System.out.println("Main.");
- }
-
- public static void main(String[] args) throws IOException {
- new Main().println();
- }
-}