This undoes changes in fbe66c3496 which broke calculation of the simple name of local classes in reflection (the enclosing method was not a substring of the name of the local class).
fbe66c3496