public class ReformatCodeRunOptions extends java.lang.Object implements LayoutCodeOptions
Constructor and Description |
---|
ReformatCodeRunOptions(TextRangeType processingScope) |
Modifier and Type | Method and Description |
---|---|
TextRangeType |
getTextRangeType() |
boolean |
isOptimizeImports() |
boolean |
isRearrangeCode() |
ReformatCodeRunOptions |
setOptimizeImports(boolean optimizeImports) |
void |
setProcessingScope(TextRangeType processingScope) |
ReformatCodeRunOptions |
setRearrangeCode(boolean rearrangeCode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCodeCleanup
public ReformatCodeRunOptions(TextRangeType processingScope)
public void setProcessingScope(TextRangeType processingScope)
public boolean isOptimizeImports()
isOptimizeImports
in interface OptionalReformatActions
public boolean isRearrangeCode()
isRearrangeCode
in interface OptionalReformatActions
public ReformatCodeRunOptions setRearrangeCode(boolean rearrangeCode)
public ReformatCodeRunOptions setOptimizeImports(boolean optimizeImports)
public TextRangeType getTextRangeType()
getTextRangeType
in interface LayoutCodeOptions