Inner Class Member Generator (basic support).
Fix for NPE when searching for type elements (MemberGenerators may not
be static)