aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core/testdata/ReweavableTest/Logger.aj
diff options
context:
space:
mode:
Diffstat (limited to 'ajde.core/testdata/ReweavableTest/Logger.aj')
-rw-r--r--ajde.core/testdata/ReweavableTest/Logger.aj11
1 files changed, 11 insertions, 0 deletions
diff --git a/ajde.core/testdata/ReweavableTest/Logger.aj b/ajde.core/testdata/ReweavableTest/Logger.aj
new file mode 100644
index 000000000..3ce6035a2
--- /dev/null
+++ b/ajde.core/testdata/ReweavableTest/Logger.aj
@@ -0,0 +1,11 @@
+
+
+public aspect Logger {
+
+ after(): call(* approximate(..)) {
+ if (CalculatePI.iteration%10000==0)
+ System.out.println("Approximation is now:"+
+ (CalculatePI.inCircle/CalculatePI.inSquare)*4.0f);
+ }
+
+} \ No newline at end of file