public static boolean isDeprecatedByAnnotation(@NotNull PsiModifierListOwner owner) {
    return AnnotationUtil.findAnnotation(owner, CommonClassNames.JAVA_LANG_DEPRECATED) != null;
  }
public static boolean isDeprecatedByAnnotation(@NotNull PsiModifierListOwner owner)