test/tools/apt/Compile/HelloAnnotation.java

Thu, 04 Nov 2010 12:57:48 +0000

author
mcimadamore
date
Thu, 04 Nov 2010 12:57:48 +0000
changeset 735
f2048d9c666e
parent 1
9a66ca7c79fa
permissions
-rw-r--r--

6993963: Project Coin: Use precise exception analysis for effectively final catch parameters
Summary: More precise rethrow analysis should be extended to effectively-final exception parameters. Multicatch parameters should be made implicitly final.
Reviewed-by: jjg, darcy

     1 /* /nodynamiccopyright/ */
     2 import java.lang.annotation.*;
     3 @Target(ElementType.ANNOTATION_TYPE)
     4 @Retention(RetentionPolicy.RUNTIME)
     5 @HelloAnnotation
     6 @interface HelloAnnotation {
     7     Target value() default @Target(ElementType.METHOD);
     8 }

mercurial