Plugin plugin= JavaCore.getPlugin(); if (plugin != null) { String option= JavaCore.getOption(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION);
if (!isStandalone()) { String option= getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION);
	private int prefTernaryIndent() {		Plugin plugin= JavaCore.getPlugin();		if (plugin != null) {			String option= JavaCore.getOption(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION);			try {				if (DefaultCodeFormatterConstants.getIndentStyle(option) == DefaultCodeFormatterConstants.INDENT_BY_ONE)					return 1;				else					return prefContinuationIndent();			} catch (IllegalArgumentException e) {				// ignore and return default			}		}				return prefContinuationIndent();	}