public Annotation annotation(Annotation annotation) {

        annotations.add(annotation);
        return this;
    }
Annotation for siddhi functions and extensions
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/annotation/Annotation.java