private static KotlinPsiElementMemberChooserObject[] collectPropertyMembers(PsiClass container) {
        var result = new ArrayList<KotlinPsiElementMemberChooserObject>();

        if (container instanceof KtLightClassForFacade facadeClass) {
          for (var file : facadeClass.getFiles()) {
                for (var declaration : file.getDeclarations()) {
                    ProgressManager.checkCanceled();
                    if (declaration instanceof KtProperty) {
                        result.add(KotlinPsiElementMemberChooserObject.getKotlinMemberChooserObject(declaration));
                    }
                }
            }
        } else if (container instanceof KtLightClass) {
            KtClassOrObject kotlinOrigin = ((KtLightClass) container).getKotlinOrigin();
            if (kotlinOrigin != null) {
                for (KtDeclaration declaration : kotlinOrigin.getDeclarations()) {
                    ProgressManager.checkCanceled();
                    if (declaration instanceof KtProperty) {
                        result.add(KotlinPsiElementMemberChooserObject.getKotlinMemberChooserObject(declaration));
                    }
                }
            }
        }

        return result.toArray(new KotlinPsiElementMemberChooserObject[0]);
    }
private static KotlinPsiElementMemberChooserObject[] collectPropertyMembers(PsiClass container)