org.tudalgo.algoutils.student.annotation.SolutionOnly Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoutils-student Show documentation
Show all versions of algoutils-student Show documentation
Common utilities for the Fachgebiet Algorithmik of TU Darmstadt
The newest version!
package org.tudalgo.algoutils.student.annotation;
import java.lang.annotation.*;
/**
* This annotation is used to mark utility classes, functions or fields, that:
*
* - are only present in the solution
* - are not required to be implemented or created by the student
* - are not tested by the grader
* - were not originally present in the student template
*
*/
@Documented
@Inherited
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.TYPE, ElementType.CONSTRUCTOR})
public @interface SolutionOnly {
/**
* An optional reason why the annotated element is only present in the solution.
*
* @return the reason why the annotated element is only present in the solution
*/
String value() default "";
}