aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features190/efficientTJP/ThreeA.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features190/efficientTJP/ThreeA.java')
-rw-r--r--tests/features190/efficientTJP/ThreeA.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/features190/efficientTJP/ThreeA.java b/tests/features190/efficientTJP/ThreeA.java
new file mode 100644
index 000000000..e3ffac941
--- /dev/null
+++ b/tests/features190/efficientTJP/ThreeA.java
@@ -0,0 +1,19 @@
+public class ThreeA {
+ public static void main(String []argv) {
+ System.out.println("ThreeA running");
+ new ThreeA();
+ new ThreeA("abc");
+ new ThreeA(1,"abc");
+ }
+
+ ThreeA() {}
+ ThreeA(String s) {}
+ ThreeA(int i, String s) {}
+}
+
+aspect X {
+ void around(): execution(new(..)) && !within(X) {
+ System.out.println(thisEnclosingJoinPointStaticPart.getSignature());
+ proceed();
+ }
+}