/*
 * Copyright 2012-2013 Raffael Herzog
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package ch.raffael.contracts.util;

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


/**
 * Indicates that an element is incomplete and needs some work.
 *
 * @author <a href="mailto:herzog@raffael.ch">Raffael Herzog</a>
 */
@Retention(RetentionPolicy.SOURCE)
@Documented
public @interface NeedsWork {

    String description();

    String[] seeAlso() default {};

}

@@ -829,16 +829,191 @@
 ork.%0A *%0A
+ * Both the compile-time annotation processor as well as the runtime class processor will%0A * print warnings whenever they encounter an element annotated with %60@NeedsWork%60.%0A *%0A
  * @auth
@@ -1104,14 +1104,13 @@
 icy.
-SOURCE
+CLASS
 )%0A@D
@@ -1158,64 +1158,313 @@
     
-String description();%0A%0A    String%5B%5D seeAlso() default %7B%7D
+/**%0A     * A description of what needs to be done. This will be printed in the warnings.%0A     */%0A    String description();%0A%0A    /**%0A     * References like docs etc.%0A     */%0A    String%5B%5D seeAlso() default %7B%7D;%0A%0A    /**%0A     * If %60true%60, no warnings will be printed.%0A     */%0A    boolean quite() default false
 ;%0A%0A%7D

Extend @NeedsWork to issue warnings both at compile- and runtime.