annotation processor asserts presence of categories on binding functions

This commit is contained in:
Jonathan Shook 2022-12-21 14:58:34 -06:00
parent 068c758bb2
commit b528a4e29c

View File

@ -111,6 +111,8 @@ public class FunctionDocInfoProcessor extends AbstractProcessor {
if (categoryAnnotation!=null) {
Category[] value = categoryAnnotation.value();
enumerator.onCategories(value);
} else {
messenger.printMessage(Diagnostic.Kind.ERROR,"@Categories is a required annotation", classElem);
}
// apply method types