When using the annotation "TemplateMethod" I get compile issues. I'm using it like described in the exercise sheet / Readme.md:
Code: Alles auswählen
@TemplateMethod("<NAME_OF_A_PRIMITIVE_OPERATION>")
protected void <TEMPLATE_METHOD_NAME>() {...}
I also imported the Annotation interface via
Code: Alles auswählen
import de.tudarmstadt.stg.sedc.annotations.templateMethod.TemplateMethod
However, I get a compile error for each time I've put the TemplateMethod annotation:
Code: Alles auswählen
[warn] <Path to file / Line of code> error: cannot find symbol
[warn] @TemplateMethod("<NAME_OF_A_PRIMITIVE_OPERATION>")
error: annotation @TemplateMethod is missing a default value for the element 'primitiveOperationNames'
[warn] @TemplateMethod("<NAME_OF_A_PRIMITIVE_OPERATION>")
I have already changed the dependencies in build.sbt
Somebody else has this problem and/or knows how to solve it?