ConfigurationProperty[] cprops = null;
ConfigurationProperties cp = m.getAnnotation(ConfigurationProperties.class);
if (cp != null) {
cprops = cp.elements();
} else {
ConfigurationProperty p = null;
p = m.getAnnotation(ConfigurationProperty.class);
if (p != null) {
cprops = new ConfigurationProperty[] { p };
}
}