|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.ui.cleanup.CleanUpRequirements
public final class CleanUpRequirements
Specifies the requirements of a clean up.
Constructor Summary | |
---|---|
CleanUpRequirements(boolean requiresAST,
boolean requiresFreshAST,
boolean requiresChangedRegions,
Map compilerOptions)
Create a new instance |
Method Summary | |
---|---|
Map |
getCompilerOptions()
Required compiler options. |
boolean |
requiresAST()
Tells whether the clean up requires an AST. |
boolean |
requiresChangedRegions()
Tells whether this clean up requires to be informed about changed regions. |
boolean |
requiresFreshAST()
Tells whether a fresh AST, containing all the changes from previous clean ups, will be needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CleanUpRequirements(boolean requiresAST, boolean requiresFreshAST, boolean requiresChangedRegions, Map compilerOptions)
requiresAST
- true
if an AST is requiredrequiresFreshAST
- true
if a fresh AST is requiredrequiresChangedRegions
- true
if changed regions are requiredcompilerOptions
- map of compiler options or null
if no requirementsMethod Detail |
---|
public boolean requiresAST()
Note: This should return false
whenever possible because
creating an AST is expensive.
true
if the context must provide an ASTpublic boolean requiresFreshAST()
true
if the caller needs an up to date ASTpublic Map getCompilerOptions()
null
if noneJavaCore
public boolean requiresChangedRegions()
Has only an effect if the clean up is used as save action.
Note:: This should return false
whenever possible because
calculating the changed regions is expensive.
true
if the context must provide changed
regions
|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |