public class CodeCleanupCodeProcessor extends AbstractLayoutCodeProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMAND_NAME |
myPreviousCodeProcessor, myProject
Constructor and Description |
---|
CodeCleanupCodeProcessor(AbstractLayoutCodeProcessor previousProcessor) |
CodeCleanupCodeProcessor(AbstractLayoutCodeProcessor previousProcessor,
SelectionModel selectionModel) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getProgressText() |
protected java.util.concurrent.FutureTask<java.lang.Boolean> |
prepareTask(PsiFile file,
boolean processChangedTextOnly)
Ensures that given file is ready to reformatting and prepares it if necessary.
|
addFileFilter, getInfoCollector, preprocessFile, run, runWithoutProgress, setCollectInfo, setPostRunnable
public static final java.lang.String COMMAND_NAME
public CodeCleanupCodeProcessor(AbstractLayoutCodeProcessor previousProcessor)
public CodeCleanupCodeProcessor(AbstractLayoutCodeProcessor previousProcessor, SelectionModel selectionModel)
protected java.util.concurrent.FutureTask<java.lang.Boolean> prepareTask(PsiFile file, boolean processChangedTextOnly)
AbstractLayoutCodeProcessor
prepareTask
in class AbstractLayoutCodeProcessor
file
- file to processprocessChangedTextOnly
- flag that defines is only the changed text (in terms of VCS change) should be processedpublic static java.lang.String getProgressText()