Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.bobocode.basics;

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.TYPE)
public @interface Exercise {
String value() default "Default value";

Level complexityLevel() default Level.BASIC;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
*
* @author Taras Boychuk
*/

@Exercise("hello-annotation-basic")
public class HelloAnnotationsExercise { // todo: mark class with the annotation according to the javadoc
}