summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/extensions/InnerClasses.java
diff options
context:
space:
mode:
authoraclement <aclement>2004-08-17 09:37:46 +0000
committeraclement <aclement>2004-08-17 09:37:46 +0000
commita2469c733c9f65514c3949cb1cc7254495011894 (patch)
treefe5894dd94c77bf7bb24678601b66b1f98b67e23 /ajde/testdata/extensions/InnerClasses.java
parenteb1d697f95742d25109b1d285db38da40464b340 (diff)
downloadaspectj-a2469c733c9f65514c3949cb1cc7254495011894.tar.gz
aspectj-a2469c733c9f65514c3949cb1cc7254495011894.zip
Fix for Bugzilla Bug 70241: outline view shows anonymous inner classes in different way than jdt outline
Diffstat (limited to 'ajde/testdata/extensions/InnerClasses.java')
-rw-r--r--ajde/testdata/extensions/InnerClasses.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/ajde/testdata/extensions/InnerClasses.java b/ajde/testdata/extensions/InnerClasses.java
new file mode 100644
index 000000000..f51667d13
--- /dev/null
+++ b/ajde/testdata/extensions/InnerClasses.java
@@ -0,0 +1,35 @@
+public class InnerClasses {
+
+ public static void main(String[] args) {
+ Runnable r = new Runnable() {
+ public void run() {
+
+ }
+ };
+
+ r.run();
+
+ new Object() {
+ public String toString() {
+ return "a";
+ }
+ };
+
+ new Runnable() {
+ public void run() {
+
+ }
+ }.run();
+ }
+
+
+ static class A {
+ public void method() {
+ Runnable r = new Runnable() {
+ public void run() {
+
+ }
+ };
+ }
+ }
+} \ No newline at end of file