aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163/pr253109/CodeFour.java
blob: 729ad8837fc99d1a5a89260b70d9b1883d50c6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import java.util.*;

public aspect CodeFour {
  
  static final class FinalSet<T> extends HashSet<T> {}

  before(): execution(* *(..)) && args(List<?>) {}
  
  public void m(FinalSet<String> ss) {
    // List<?> l = (List<?>)ss; // cannot write this (FinalSet is final) so pointcut should not match
  }

}