List<MethodAttribute> list = declarations.get(method.getMethod().getMethodName());
if (list == null) {
list = new ArrayList<MethodAttribute>();
declarations.put(method.getMethod().getMethodName(), list);
}
list.add(new MethodAttribute(null, bean.getEjbName(), method.getMethod()));
}
return declarations;
}