private static boolean isClassFromJavaLangPackage(PsiElement target) {
      return target instanceof PsiClass &&
             target.getContainingFile() instanceof PsiJavaFile javaFile &&
             "java.lang".equals(javaFile.getPackageName());
    }
private static boolean isClassFromJavaLangPackage(PsiElement target)