[CXF-5932] Caching method properties early
NPE fix