protected boolean parse(WidgetAdapter adapter, EventSetDescriptor esd, MethodDescriptor mListener, ClassInstanceCreation instanceExpression) {
AnonymousClassDeclaration acd = instanceExpression.getAnonymousClassDeclaration();
anonymousClass = acd;
List bodys = acd.bodyDeclarations();
for (Object element : bodys) {
if (element instanceof MethodDeclaration) {
if (processListenerMethod(adapter, esd, mListener, (MethodDeclaration) element)) {
return true;
}