text1: As per your definition, a star formed in a binary system (hence near some gravitating body) is a generalised planet.
text2: The main flaw with your definition of a "generalised planet" would be the boundary between stars and planets.