You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TopLevelType3.java 371B

1234567891011121314151617
  1. public class TopLevelType3<E> {
  2. public static class NestedType<T> {}
  3. public static void main(String[] args) {
  4. TopLevelType3 tlt = new TopLevelType3();
  5. NestedType nt = new NestedType();
  6. nt.someMethod();
  7. }
  8. }
  9. aspect SomeAspect {
  10. public void TopLevelType3.NestedType<String>.someMethod() { // error - can't do that
  11. }
  12. }