* fix #5592 Optimize the AbstractMemberLookup class, abstract out the template method * add exception javadoc