private BreakAndAlignPreferences formatterPreferences;
@Override
protected IBreakAndAlignAdvice dataForResource(IResource resource) {
final int clusterSize = formatterPreferences.getClusterSize(resource);
final WhenToApplyForDefinition definitionParameters = formatterPreferences.getDefinitionParametersAdvice(resource);
final WhenToApply hashes = formatterPreferences.getHashesAdvice(resource);
final WhenToApply lists = formatterPreferences.getListsAdvice(resource);
final boolean compact = formatterPreferences.isCompactCases(resource);
final boolean alignCases = formatterPreferences.isAlignCases(resource);
final boolean compactResource = formatterPreferences.isCompactResources(resource);