Source:
<code>static Dialog create(final Context context, DialogOptions options) { AlertDialog.Builder builder = getDialogBuilder(context); <START> if(options.getMessageText() == null) { <END> builder.setMessage(options.getMessageResId()); } else{ builder.setMessage(options.getMessageText()); } if (options.shouldShowTitle()){ if(options.getTitleText() == null) { builder.setTitle(options.getTitleResId()); } else{ builder.setTitle(options.getTitleText()); } } builder.setCancelable(options.getCancelable()); View view = options.getView(); if (view != null) builder.setView(view); final OnClickButtonListener listener = options.getListener(); DialogInterface.OnClickListener positiveClickListener = new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { context.startActivity(createIntentForGooglePlay(context)); setAgreeShowDialog(context, false); if (listener != null) listener.onClickButton(which); } }; DialogInterface.OnClickListener neutralClickListener = new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { setRemindInterval(context); if (listener != null) listener.onClickButton(which); } }; DialogInterface.OnClickListener negativeClickListener = new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { setAgreeShowDialog(context, false); if (listener != null) listener.onClickButton(which); } }; if(options.getPositiveText() == null){ builder.setPositiveButton(options.getTextPositiveResId(), positiveClickListener); } else{ builder.setPositiveButton(options.getPositiveText(), positiveClickListener); } if (options.shouldShowNeutralButton()) { if(options.getNeutralText() == null){ builder.setNeutralButton(options.getTextNeutralResId(), neutralClickListener); } else{ builder.setNeutralButton(options.getNeutralText(), neutralClickListener); } } if(options.getNegativeText() == null){ builder.setNegativeButton(options.getTextNegativeResId(), negativeClickListener); } else{ builder.setNegativeButton(options.getNegativeText(), negativeClickListener); } return builder.create(); }</code><technical_language>Please format this class again</technical_language>

Target:
static Dialog create(final Context context, DialogOptions options) { AlertDialog.Builder builder = getDialogBuilder(context); builder.setMessage(options.getMessageText(context)); if (options.shouldShowTitle()) builder.setTitle(options.getTitleText(context)); builder.setCancelable(options.getCancelable()); View view = options.getView(); if (view != null) builder.setView(view); final OnClickButtonListener listener = options.getListener(); builder.setPositiveButton(options.getPositiveText(context), new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { context.startActivity(createIntentForGooglePlay(context)); setAgreeShowDialog(context, false); if (listener != null) listener.onClickButton(which); } }); if (options.shouldShowNeutralButton()) { builder.setNeutralButton(options.getNeutralText(context), new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { setRemindInterval(context); if (listener != null) listener.onClickButton(which); } }); } builder.setNegativeButton(options.getNegativeText(context), new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { setAgreeShowDialog(context, false); if (listener != null) listener.onClickButton(which); } }); return builder.create(); }