Ideally, it would look much like this:
List props = objectMapper.getKnownProperties(MyPojo.class);
Alas, there is no such met
Perhaps you could use Jackson's JSON Schema module to generate a schema for a class, then inspect the schema.