def _get_property_for(self, p, indexed=True, depth=<NUM_LIT:0>):
parts = p.name().split('<STR_LIT:.>')<EOL>if len(parts) <= depth:<EOL><INDENT>return None<EOL><DEDENT>next = parts[depth]<EOL>prop = self._properties.get(next)<EOL>if prop is None:<EOL><INDENT>prop = self._fake_property(p, next, indexed)<EOL><DEDENT>return prop<EOL>
Internal helper to get the Property for a protobuf-level property.