aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/extensions/InnerClasses.java
blob: f51667d130ee01fd5b96c478cfff84cb9ebf9d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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() {

				}
			};
		}
	}
}