// Check for a StructConverters annotation
MetadataAnnotation structConverters = getAnnotation(StructConverters.class);
if (structConverters != null) {
for (Object structConverter : (Object[]) structConverters.getAttributeArray("value")) {
m_project.addConverter(new StructConverterMetadata((MetadataAnnotation) structConverter, getAccessibleObject()));
}
}
// Check for a StructConverter annotation.
MetadataAnnotation converter = getAnnotation(StructConverter.class);
if (converter != null) {
m_project.addConverter(new StructConverterMetadata(converter, getAccessibleObject()));
}
}