List<ProviderDefinition> list = new ArrayList<ProviderDefinition>();
for (MethodDescriptor methodDescriptor : methods) {
Method method = methodDescriptor.getMethod();
PetiteProvider petiteProvider = method.getAnnotation(PetiteProvider.class);
if (petiteProvider == null) {
continue;
}
String providerName = petiteProvider.value();
if (StringUtil.isBlank(providerName)) {
// default provider name
providerName = method.getName();