public static Location getParameterizedLocation(PsiClass psiClass,
                                                  String paramSetName,
                                                  String parameterizedClassName) {
    final PsiAnnotation annotation = AnnotationUtil.findAnnotationInHierarchy(psiClass, Collections.singleton(JUnitUtil.RUN_WITH));
    if (annotation != null) {
      final PsiAnnotationMemberValue attributeValue = annotation.findAttributeValue("value");
      if (attributeValue instanceof PsiClassObjectAccessExpression) {
        final PsiTypeElement operand = ((PsiClassObjectAccessExpression)attributeValue).getOperand();
        if (InheritanceUtil.isInheritor(operand.getType(), parameterizedClassName)) {
          return new PsiMemberParameterizedLocation(psiClass.getProject(), 
                                                    psiClass,
                                                    null,
                                                    paramSetName);
        }
      }
    }
    return null;
  }
public static Location getParameterizedLocation(PsiClass psiClass,
                                                  String paramSetName,
                                                  String parameterizedClassName)