public static NestedClassLocation elementInClass(final PsiClass psiElement, final PsiClass psiClass) {
    final Location<PsiClass> classLocation = PsiLocation.fromPsiElement(psiClass);
    return new NestedClassLocation(classLocation.getProject(), psiElement, classLocation);
  }
public static NestedClassLocation elementInClass(final PsiClass psiElement, final PsiClass psiClass)