List<IProperty> () { PropertiesList propertiesList; final StubElement<?> stub = getGreenStub(); if (stub != null) { PropertiesListStub propertiesListStub = stub.findChildStubByType(PropertiesElementTypes.PROPERTIES_LIST); propertiesList = propertiesListStub == null ? null : propertiesListStub.getPsi(); } else { propertiesList = PsiTreeUtil.findChildOfType(this, PropertiesList.class); } //noinspection RedundantUnmodifiable return Collections.unmodifiableList(PsiTreeUtil.getStubChildrenOfTypeAsList(propertiesList, Property.class)); }