private static boolean hasNotNullAnnotations(
     final Cache cache, final SymbolTable symbolTable, final int className, Project project)
     throws CacheCorruptedException {
   final NullableNotNullManager manager = NullableNotNullManager.getInstance(project);
   final List<String> notNulls = manager.getNotNulls();
   for (MethodInfo methodId : cache.getMethods(className)) {
     for (AnnotationConstantValue annotation : methodId.getRuntimeInvisibleAnnotations()) {
       if (notNulls.contains(symbolTable.getSymbol(annotation.getAnnotationQName()))) {
         return true;
       }
     }
     final AnnotationConstantValue[][] paramAnnotations =
         methodId.getRuntimeInvisibleParameterAnnotations();
     for (AnnotationConstantValue[] _singleParamAnnotations : paramAnnotations) {
       for (AnnotationConstantValue annotation : _singleParamAnnotations) {
         if (notNulls.contains(symbolTable.getSymbol(annotation.getAnnotationQName()))) {
           return true;
         }
       }
     }
   }
   return false;
 }