private static Accessor<? super UClass> wrap(Accessor<? super PsiClass> accessor) {
      return new Accessor<>() {
        @Override
        public void setName(String qualifiedName) {
          accessor.setName(qualifiedName);
        }

        @Override
        public UClass getPsiElement() {
          return UastContextKt.toUElement(accessor.getPsiElement(), UClass.class);
        }

        @Override
        public void setPsiElement(UClass uClass) {
          accessor.setPsiElement(uClass);
        }
      };
    }
private static Accessor<? super UClass> wrap(Accessor<? super PsiClass> accessor)