mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-20 11:38:28 -06:00
annotation processor asserts presence of categories on binding functions
This commit is contained in:
parent
068c758bb2
commit
b528a4e29c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user