|
Navigate to: Methods | Constructors | Events | Properties
Options | Name | Purpose | |
---|---|---|---|
+ | InsertAfterNode (JPNode, character) |
Inserts the given text before the given JPNode |
|
+ | InsertBeforeNode (JPNode, character, logical) |
Inserts the given text before the given JPNode |
|
# | InsertRefactorTask (integer, integer, character, logical) |
Registers a location in the source for replacement |
|
# | PerformRefactor () |
Performs the modifications of the file contents |
|
+ | ReplaceAllNodeContent (JPNode, character) |
Replaces the contents of the given JPNode instance including all it's
Children |
|
+ | ReplaceNodeContent (JPNode, character) |
Replaces the contents of the given JPNode instance |
|
+ | LOGICAL Save () |
Saves the contents of the RefactSession to the original file name |
|
+ | LOGICAL Save (character) |
Saves the contents of the RefactSession to a file |
Options | Name | Purpose | |
---|---|---|---|
+ | RefactorSession (ParseUnit) |
Constructor for the RefactorSession class |
Options | Name | Purpose | |
---|---|---|---|
+ | CHARACTER FileName |
Returns the file name that is processed by this RefactorSession |
|
+ | LOGICAL HasTasks |
Returns if the RefactorSession has refactor tasks defined |
|
+ | org.prorefactor.treeparser.ParseUnit ParseUnit |
Returns the reference to the ParseUnit this RefactorSession is
processing |
|
+ | LOGICAL Refactored |
Returns if this RefactorSession instance has already performed the
refactoring |
Top
PUBLIC InsertAfterNode (JPNode, character)
|
||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUBLIC InsertBeforeNode (JPNode, character, logical)
|
||||||||||||||||||||||||||||||
PROTECTED InsertRefactorTask (integer, integer, character, logical)
|
||||||||||||||||||||||||||||||
PROTECTED PerformRefactor ()
|
||||||||||||||||||||||||||||||
PUBLIC ReplaceAllNodeContent (JPNode, character)
|
||||||||||||||||||||||||||||||
PUBLIC ReplaceNodeContent (JPNode, character)
|
||||||||||||||||||||||||||||||
PUBLIC LOGICAL Save ()
|
||||||||||||||||||||||||||||||
PUBLIC LOGICAL Save (character)
|
PUBLIC RefactorSession (ParseUnit)
|
---|
PUBLIC CHARACTER FileName
|
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUBLIC LOGICAL HasTasks
|
|||||||||||||||
PUBLIC org.prorefactor.treeparser.ParseUnit ParseUnit
|
|||||||||||||||
PUBLIC LOGICAL Refactored
|