aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental
diff options
context:
space:
mode:
authoraclement <aclement>2009-07-17 21:29:57 +0000
committeraclement <aclement>2009-07-17 21:29:57 +0000
commit5f50e8fec2ed81d2def2fce3a14f57dec2e4c1dc (patch)
tree0e0fc801131cd873a3fc561e3c7e4038773a62da /tests/multiIncremental
parent75cab96794087e91322e8a575ce7c628f95fb3ca (diff)
downloadaspectj-5f50e8fec2ed81d2def2fce3a14f57dec2e4c1dc.tar.gz
aspectj-5f50e8fec2ed81d2def2fce3a14f57dec2e4c1dc.zip
283657: fix
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r--tests/multiIncremental/pr283657/base/src/Aspect.java14
-rw-r--r--tests/multiIncremental/pr283864/base/src/Failing.java35
2 files changed, 49 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr283657/base/src/Aspect.java b/tests/multiIncremental/pr283657/base/src/Aspect.java
new file mode 100644
index 000000000..2bb1cbb43
--- /dev/null
+++ b/tests/multiIncremental/pr283657/base/src/Aspect.java
@@ -0,0 +1,14 @@
+public aspect Aspect {
+ int Target.foo = 9;
+
+ void Target.foo() {
+
+ }
+}
+
+
+class Target {
+
+}
+
+
diff --git a/tests/multiIncremental/pr283864/base/src/Failing.java b/tests/multiIncremental/pr283864/base/src/Failing.java
new file mode 100644
index 000000000..bb50b8664
--- /dev/null
+++ b/tests/multiIncremental/pr283864/base/src/Failing.java
@@ -0,0 +1,35 @@
+public aspect Failing {
+ pointcut failingPointcut() : execution(* foo*(..));
+
+ after() returning() : failingPointcut()
+ {
+ System.out.println("hit");
+ }
+}
+
+class X <T extends Object> {
+ // Pointcut match highlighted
+// void foo() {}
+
+ // Pointcut match highlighted
+// void foo1(T x) {}
+
+ // Pointcut not highlighted
+ void foo2(T[] x) {}
+
+ // Pointcut not highlighted
+// void foo3(T... x) {}
+
+ // Pointcut highlighted
+// T foo3() { return null; }
+
+ // Pointcut highlighted
+// T[] foo4() { return null; }
+
+ public static void main(String[] args) {
+ X<Object> x = new X<Object>();
+
+ x.foo2(null);
+ }
+}
+