aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr132349/TopLevelType2.java
blob: ab1b618290c11e5cc24cd2c7fcac5a722704f4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class TopLevelType2<E> {
        public static class NestedType {}
        
        public static void main(String[] args) {
			TopLevelType2 tlt = new TopLevelType2();
			NestedType nt = new NestedType();
			nt.someMethod();
		}
}

aspect SomeAspect {
        public void TopLevelType2<String>.NestedType.someMethod() { // error - can't do that
        }
}