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.

TopLevelType2.java 368B

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