public void contributeInternal(JQHeaderContributionTarget target) {
IJQFunction callback = this.callback();
if (isNotEmpty(this.events) && callback != null) {
IJQStatement stmt = $(this.component);
for (IJQEvent e : this.events) {
stmt.chain(e.getName(), callback);
}
target.addJQStatements(stmt);
}
}