aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs164/pr268710/ConcreteAspect.aj
blob: 14abbfc93cd382f678a868685bee7c9fbf5830b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * 
 */
package none;

/**
 * @author Dawid Pytel
 *
 */
public aspect ConcreteAspect extends GenericAspect<String> {

  public static void main(String [] argv) {
    new C();
  }


  before(SomeInterface v): SomeConstructor(v) {
    System.out.println("Building an object "+v.getClass());
  }
}

class C implements GenericAspect.SomeInterface {
  public C() {
    System.out.println("C.init");
  }
}