--- /dev/null
+package test;
+import java.util.List;
+
+public privileged aspect MyAspect {
+ void Demo.foo(java.util.List<String> x) { }
+ declare @method: (void Demo.foo(..): @Deprecated;
+ declare @type: Demo: @Deprecated;
+
+ //declare @field: (int Demo.x): @Deprecated;
+ //declare @constructor: (public Demo.new(int)): @Deprecated;
+
+}
assertEquals("=BrokenHandles<p{GetInfo.java}GetInfo`declare parents!3", ipe.getHandleIdentifier());
}
+ public void testAnnotations_pr255555() {
+ String p = "pr255555";
+ initialiseProject(p);
+ build(p);
+ checkCompileWeaveCount(p, 2, 1);
+ }
+
public void testSpacewarHandles() {
// String p = "SpaceWar";
String p = "Simpler";