protected boolean processAddListenerStatement(TypeDeclaration type, WidgetAdapter adapter, EventSetDescriptor esd, MethodDescriptor mListener, MethodInvocation mi) {
List arguments = mi.arguments();
for (Object arg : arguments) {
Expression argExpression = (Expression) arg;
if (argExpression instanceof ClassInstanceCreation) {
ClassInstanceCreation cic = (ClassInstanceCreation) argExpression;
AnonymousClassDeclaration acd = cic.getAnonymousClassDeclaration();
if (acd != null) {
return false;
} else {
Type typeName = cic.getType();
if (typeName instanceof SimpleType) {
SimpleType simpleType = (SimpleType) typeName;
className = simpleType.getName().getFullyQualifiedName();
List args = cic.arguments();
if (args != null && args.size() > 0) {
StringBuilder builder = new StringBuilder();
for (int i = 0; i < args.size(); i++) {
Object para = args.get(i);
if (i != 0)