List<String> () { if (getGreenStub() instanceof PyFileStub stubElement) { return stubElement.getDunderAll(); } if (!myDunderAllCalculated) { final List<String> dunderAll = calculateDunderAll(); myDunderAll = dunderAll == null ? null : Collections.unmodifiableList(dunderAll); myDunderAllCalculated = true; } return myDunderAll; }