{
Method methodToReturn = null;
boolean found = false;
for (Method method : methods)
{
CloseMethod annotation = method.getAnnotation(CloseMethod.class);
if (annotation != null)
{
found = checkAnnotation(actionBeanClass, found, method);if (found)
{
methodToReturn = method;