int (PsiClass aClass) { final PsiMethod[] methods = aClass.getMethods(); int totalComplexity = calculateComplexityForMethods(methods); totalComplexity += calculateInitializerComplexity(aClass); return totalComplexity; }