if (mouseListenerExpression instanceof MethodBindingToMethodExpression) {
return ((MethodBindingToMethodExpression)mouseListenerExpression).getMethodBinding();
}
if(mouseListenerExpression != null)
{
return new MethodExpressionToMethodBinding(mouseListenerExpression);
}
return null;
}