public static boolean isMacro(@Nullable PsiMethod method) {
    return method instanceof OriginInfoAwareElement && MACRO_ORIGIN_INFO.equals(((OriginInfoAwareElement)method).getOriginInfo());
  }
public static boolean isMacro(@Nullable PsiMethod method)