STS-3331: refactoring the outer type of a beans javaconfig class also renames the beans java config