Search in sources :

Example 1 with ValuesExtractionResultImpl

use of com.intellij.psi.codeStyle.extractor.values.ValuesExtractionResultImpl in project intellij-community by JetBrains.

the class BruteForceProcessor method runWithProgress.

@Override
public ValuesExtractionResult runWithProgress(Project project, CodeStyleSettings settings, PsiFile file, ProgressIndicator indicator) {
    List<Value> values = getFormattingValues(settings, file.getLanguage());
    Differ differ = myLangExtractor.getDiffer(project, file, settings);
    ValuesExtractionResult container = new ValuesExtractionResultImpl(values);
    Utils.adjustValuesMin(container, differ, indicator);
    return container;
}
Also used : ValuesExtractionResultImpl(com.intellij.psi.codeStyle.extractor.values.ValuesExtractionResultImpl) Differ(com.intellij.psi.codeStyle.extractor.differ.Differ) ValuesExtractionResult(com.intellij.psi.codeStyle.extractor.values.ValuesExtractionResult) Value(com.intellij.psi.codeStyle.extractor.values.Value)

Aggregations

Differ (com.intellij.psi.codeStyle.extractor.differ.Differ)1 Value (com.intellij.psi.codeStyle.extractor.values.Value)1 ValuesExtractionResult (com.intellij.psi.codeStyle.extractor.values.ValuesExtractionResult)1 ValuesExtractionResultImpl (com.intellij.psi.codeStyle.extractor.values.ValuesExtractionResultImpl)1