}
ResolvedType resolvedSubType = typeResolver.resolve(subTypeMethod.getDeclaringClass());
MemberResolver memberResolver = new MemberResolver(typeResolver);
memberResolver.setMethodFilter(new SimpleMethodFilter(subTypeMethod, superTypeMethod));
ResolvedTypeWithMembers typeWithMembers = memberResolver.resolve(resolvedSubType, null, null);
ResolvedMethod[] resolvedMethods = typeWithMembers.getMemberMethods();
// The ClassMate doc says that overridden methods are flattened to one
// resolved method. But that is the case only for methods without any
// generic parameters.
if (resolvedMethods.length == 1)