PsiMethod (PsiMethod[] constructors) { for (PsiMethod constructor : constructors) { final PsiParameterList parameterList = constructor.getParameterList(); if (parameterList.isEmpty()) { return constructor; } } return null; }