return isClosure;
}
private static boolean seemsLikeLambda(@Nullable final PsiClass baseClass) {
if (baseClass == null) return false;
if (!baseClass.hasModifierProperty(PsiModifier.ABSTRACT)) return false;
<BUG>boolean hasEmptyConstructor = false;
for (final PsiMethod method : baseClass.getConstructors()) {
</BUG>
if (method.getParameterList().getParametersCount() == 0) {
hasEmptyConstructor = true;

return isClosure;
}
private static boolean seemsLikeLambda(@Nullable final PsiClass baseClass) {
if (baseClass == null) return false;
if (!baseClass.hasModifierProperty(PsiModifier.ABSTRACT)) return false;
final PsiMethod[] constructors = baseClass.getConstructors();
boolean hasEmptyConstructor = constructors.length == 0;
for (final PsiMethod method : constructors) {
if (method.getParameterList().getParametersCount() == 0) {
hasEmptyConstructor = true;
