aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs171
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2012-07-10 10:18:35 -0700
committerAndy Clement <andrew.clement@gmail.com>2012-07-10 10:18:35 -0700
commitbf949d3260232dd69a5fd3a2b81a19cb3dd1a6a6 (patch)
treea128790e3b29e568bc3044ae9ef6cf2c1162b315 /tests/bugs171
parent5d0e1860cb5069b266ba70d33bc356d36e285a90 (diff)
downloadaspectj-bf949d3260232dd69a5fd3a2b81a19cb3dd1a6a6.tar.gz
aspectj-bf949d3260232dd69a5fd3a2b81a19cb3dd1a6a6.zip
384398: some fixes for generics/itds/inner classes
Diffstat (limited to 'tests/bugs171')
-rwxr-xr-xtests/bugs171/pr384398/A.java9
-rwxr-xr-xtests/bugs171/pr384398/B.java13
-rwxr-xr-xtests/bugs171/pr384398/BAspect.aj15
-rwxr-xr-xtests/bugs171/pr384398_2/A.java9
-rwxr-xr-xtests/bugs171/pr384398_2/B.java14
-rwxr-xr-xtests/bugs171/pr384398_2/BAspect.aj16
6 files changed, 76 insertions, 0 deletions
diff --git a/tests/bugs171/pr384398/A.java b/tests/bugs171/pr384398/A.java
new file mode 100755
index 000000000..bc79f0699
--- /dev/null
+++ b/tests/bugs171/pr384398/A.java
@@ -0,0 +1,9 @@
+package de.example;
+
+public class A<T> {
+ public static class InnerA{
+
+ }
+
+
+}
diff --git a/tests/bugs171/pr384398/B.java b/tests/bugs171/pr384398/B.java
new file mode 100755
index 000000000..4673547a0
--- /dev/null
+++ b/tests/bugs171/pr384398/B.java
@@ -0,0 +1,13 @@
+package de.example;
+
+public class B extends A<String> {
+/*
+ InnerA someMethod(){
+ return new InnerA();
+ }
+
+ InnerA someOtherMethod(){
+ return someMethod();
+ }
+*/
+}
diff --git a/tests/bugs171/pr384398/BAspect.aj b/tests/bugs171/pr384398/BAspect.aj
new file mode 100755
index 000000000..2a580f238
--- /dev/null
+++ b/tests/bugs171/pr384398/BAspect.aj
@@ -0,0 +1,15 @@
+package de.example;
+
+import de.example.A.InnerA;
+
+public aspect BAspect {
+
+ InnerA B.someMethod(){
+ return new InnerA();
+ }
+
+ InnerA B.someOtherMethod(){
+ return someMethod();
+ }
+
+}
diff --git a/tests/bugs171/pr384398_2/A.java b/tests/bugs171/pr384398_2/A.java
new file mode 100755
index 000000000..9b7049050
--- /dev/null
+++ b/tests/bugs171/pr384398_2/A.java
@@ -0,0 +1,9 @@
+package de.example;
+
+public class A<T> {
+ public class InnerA {
+ T aaa;
+ }
+
+
+}
diff --git a/tests/bugs171/pr384398_2/B.java b/tests/bugs171/pr384398_2/B.java
new file mode 100755
index 000000000..3e3868445
--- /dev/null
+++ b/tests/bugs171/pr384398_2/B.java
@@ -0,0 +1,14 @@
+package de.example;
+
+public class B extends A<String> {
+/*
+ InnerA someMethod(){
+ A<String> as = new A<String>();
+ return as.new InnerA();
+ }
+
+ InnerA someOtherMethod() {
+ return someMethod();
+ }
+*/
+}
diff --git a/tests/bugs171/pr384398_2/BAspect.aj b/tests/bugs171/pr384398_2/BAspect.aj
new file mode 100755
index 000000000..fcba89b39
--- /dev/null
+++ b/tests/bugs171/pr384398_2/BAspect.aj
@@ -0,0 +1,16 @@
+package de.example;
+
+import de.example.A.InnerA;
+
+public aspect BAspect {
+
+ InnerA B.someMethod(){
+ A<String> as = new A<String>();
+ return as.new InnerA();
+ }
+
+ InnerA B.someOtherMethod(){
+ return someMethod();
+ }
+
+}