diff options
Diffstat (limited to 'tests/java5/ataspectj/coverage/Test044.java')
-rw-r--r-- | tests/java5/ataspectj/coverage/Test044.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/java5/ataspectj/coverage/Test044.java b/tests/java5/ataspectj/coverage/Test044.java new file mode 100644 index 000000000..16fceb21c --- /dev/null +++ b/tests/java5/ataspectj/coverage/Test044.java @@ -0,0 +1,15 @@ +// "@DeclareWarning" + +import org.aspectj.lang.annotation.*; + +aspect A{ + @DeclareWarning("call(* *..warnedCall())") + static final String aMessage = "This call is warned"; + + void warnedCall(){ + } + + public static void main(String [] args){ + warnedCall(); + } +} |