Couple<String> (@NotNull PsiMethod method) { if (DumbService.isDumb(method.getProject())) return null; PsiClass c = method.isValid() ? method.getContainingClass() : null; String fqn = c != null ? DiscoveredTestsTreeModel.getClassName(c) : null; return fqn == null ? null : Couple.of(fqn, methodSignature(method)); }