def _fake_property(self, p, next, indexed=True):
self._clone_properties()<EOL>if p.name() != next and not p.name().endswith('<STR_LIT:.>' + next):<EOL><INDENT>prop = StructuredProperty(Expando, next)<EOL>prop._store_value(self, _BaseValue(Expando()))<EOL><DEDENT>else:<EOL><INDENT>compressed = p.meaning_uri() == _MEANING_URI_COMPRESSED<EOL>prop = GenericProperty(next,<EOL>repeated=p.multiple(),<EOL>indexed=indexed,<EOL>compressed=compressed)<EOL><DEDENT>prop._code_name = next<EOL>self._properties[prop._name] = prop<EOL>return prop<EOL>
Internal helper to create a fake Property.