aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs173/pr408014/MyAspect.java
blob: 5643dbeeda1a7ed9f5c840336808bf3b16ed4f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import org.aspectj.lang.annotation.*;

@Aspect
class MyAspect {
  
	public interface IIdentifiable {
		UUID getPlatformId();
		void setPlatformId(UUID id);
	}

    @DeclareMixin("!is(InterfaceType) && !is(EnumType)")
    public static IIdentifiable createIIdentifiable() {
        return new IdentifiableMixin();
    }
}

class UUID {}