inline deprecated methods of ReflectionCache