01: package tide.annotations;
02:
03: import java.lang.annotation.*;
04:
05: /** Gives a secure feeling and clear indication that a perticular methods
06: * implements some declared interface.
07: * Usage: like @Override.
08: */
09: @Retention(RetentionPolicy.SOURCE)
10: @Target(ElementType.METHOD)
11: public @interface Implements {
12: /** Ending name or full name of the implmented interface, for example "Comparable<String>".
13: * Optional.
14: */
15: String value() default "";
16: }
|