All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tudalgo.algoutils.student.annotation.SolutionOnly Maven / Gradle / Ivy

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 ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy