learn java5 annotation
Java Annotation Facility: 1.a syntax for declaring annotation types 2.a syntax for annotating declarations 3.APIs for reading annotations 4.a class file representation for annotations 5.an annotation processing tool @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Test { } Annotation Declaration 1.Annotation type declarations are similar to normal interface declarations …