aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/extensions/InnerClasses.java
diff options
context:
space:
mode:
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