1. if postProcessAfterInstantiation return false, it could return immediately
  2. instanceof could replace isInstance

Comment From: jhoeller

Well spotted! Thanks for the PR.