aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162/pr239441/SampleAspect.java
blob: 5aa4a369b891d7a6fc883d8056d74cf02d60b6c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
import java.lang.annotation.*;

public aspect SampleAspect {
  declare parents : hasmethod(@Something * *.*(..)) implements SampleInterface;

  private interface SampleInterface{
  }
}

@Retention(RetentionPolicy.RUNTIME)
@interface Something {}