@SuppressWarnings("rawtypes")
@Override
protected MetaRuleset createMetaRuleset(Class type) {
MetaRuleset metaRuleset = super.createMetaRuleset(type);
metaRuleset.addRule(new MetaRule() {
@Override
public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta) {
if (meta.isTargetInstanceOf(AbstractFileUpload.class)) {
if ("fileUploadListener".equals(name)) {
return new MethodMetadata(attribute, FileUploadEvent.class) {