aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs173/pr405016/Thingy.java
blob: 6d6ca0bc397c01bf93f931b9d90f9e2a8664615b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import java.io.Serializable;

@Gimme({Cloneable.class,java.io.Serializable.class})
public class Thingy {
  public static void main(String[] argv) {
    System.out.println("I am serializable? "+(new Thingy() instanceof Serializable));
  }
}

aspect X {
	//declare parents: Thingy implements Serializable;
	declare parents: (@Gimme(value = {Cloneable.class, Serializable.class}) *) implements Serializable;
}