Support of @Names annotation on a class or a constructor