FileDocCategorySizeDatePackage
TODO.javaAPI DocExample559Mon Apr 26 15:23:52 BST 2004com.oreilly.tiger.ch06

TODO.java

package com.oreilly.tiger.ch06;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation type to indicate a task still needs to
 *   be completed.
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,
         ElementType.METHOD, 
         ElementType.CONSTRUCTOR, 
         ElementType.ANNOTATION_TYPE})
public @interface TODO { 
  String value();
}