public static boolean isTrivial(@NotNull UMethod method, @Nullable Predicate<? super UExpression> trivialPredicate) {
    if (method.getJavaPsi().hasModifier(JvmModifier.NATIVE)) return false;
    return isTrivial(method.getUastBody(), trivialPredicate);
  }
public static boolean isTrivial(@NotNull UMethod method, @Nullable Predicate<? super UExpression> trivialPredicate)