STS-3056: avoiding type hierarchy check when searching for methods and fields while processing annotation metadata