diff options
author | Andy Clement <andrew.clement@gmail.com> | 2013-06-13 12:29:45 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2013-06-13 12:29:45 -0700 |
commit | 5b0b6b07d2b581cddd1bac4a2a6b12cd4ac02b07 (patch) | |
tree | d70190d982a521f6392c71946c7a92e466e81b93 /tests/bugs173/pr408014/MyAspect.java | |
parent | 31d8e259e5cd8b1b4810d69bbf4b9ea45ae4a4c8 (diff) | |
download | aspectj-5b0b6b07d2b581cddd1bac4a2a6b12cd4ac02b07.tar.gz aspectj-5b0b6b07d2b581cddd1bac4a2a6b12cd4ac02b07.zip |
Preserve ordering of declare annotation when removing and adding annotations
Issue: 407739
Diffstat (limited to 'tests/bugs173/pr408014/MyAspect.java')
-rw-r--r-- | tests/bugs173/pr408014/MyAspect.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs173/pr408014/MyAspect.java b/tests/bugs173/pr408014/MyAspect.java new file mode 100644 index 000000000..5643dbeed --- /dev/null +++ b/tests/bugs173/pr408014/MyAspect.java @@ -0,0 +1,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 {} |