mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
annotation processor asserts presence of categories on binding functions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user