aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs187/470663/FilesAspect.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs187/470663/FilesAspect.aj')
-rw-r--r--tests/bugs187/470663/FilesAspect.aj12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs187/470663/FilesAspect.aj b/tests/bugs187/470663/FilesAspect.aj
new file mode 100644
index 000000000..ae6d4d4b2
--- /dev/null
+++ b/tests/bugs187/470663/FilesAspect.aj
@@ -0,0 +1,12 @@
+package com.safedk.android.aspects;
+
+import org.aspectj.lang.JoinPoint.StaticPart;
+
+public aspect FilesAspect {
+
+ pointcut fileCreateNewFile() : ( call(boolean java.io.File.createNewFile (..)) );
+
+ boolean around() : fileCreateNewFile() {
+ return proceed();
+ }
+}