package be.cytomine.annotations;

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

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DependencyOrder {
    public int order() default Integer.MIN_VALUE;
}

@@ -257,43 +257,188 @@
 OD)%0A
-public @interface DependencyOrder %7B
+/**%0A * Determines a priority into dependencies.%0A * */%0Apublic @interface DependencyOrder %7B%0A    /**%0A     * A method with an higher value will be executed before the others.%0A     * */
 %0A   

add comment