private boolean isSameMemberWhenErased ( Type type , MethodSymbol method , Type erasure ) { return types . isSameType ( erasure ( types . memberType ( type , method ) ) , erasure ) ; }
Lookup the method as a member of the type . Compare the erasures .