01: package tide.annotations;
02:
03: import java.lang.annotation.*;
04:
05: /** Marker to annotate methods known as being recursive (calling itself).
06: * Marking these methods helps the code reader and developper.
07: * Refactorings are robuster, as with the use og @Override
08: *
09: * TODO: if the method didn't call itself,
10: * the IDE checker should warn.
11: */
12: @Retention(RetentionPolicy.SOURCE)
13: @Target(ElementType.METHOD)
14: public @interface Recurse {
15: //String value();
16: }
|