In addition to the involved entities described in {@link SourceCodeChange} an insert has a
oldParentEntity
that describes from which entity changedEntity
is deleted. Speaking of an AST, parentEntity
describes the node in which changedEntity
was a child before move. parentEntity
is taken from the left AST, i.e., old version.newParentEntity
that describes in which entity changedEntity
is inserted. Speaking of an AST, parentEntity
describes the node in which changedEntity
will be a child after the move. parentEntity
is taken from the left AST, i.e., old version. In case parentEntity
was inserted (see {@link SourceCodeChange}), it is taken from the right AST.newEntity
that describes which entity changedEntity
becomesafter the move. newEntity
is taken from the right AST, i.e., new version.MOVE
metohd implementation.
@author Pier Fumagalli
User: Zhang Kaitao
Date: 13-2-4 上午9:38
Version: 1.0
Source files and directories are only deleted when the file or directory has been copied to the destination successfully. Filtering also works.
This implementation is based on Arnout Kuiper's initial design document, the following mailing list discussions, and the copyfile/copydir tasks.
@author Glenn McAllister glennm@ca.ibm.com @author Magesh Umasankar @version $Revision: 1.25.2.2 $ @since Ant 1.2 @ant.task category="filesystem"Note that Move objects are not intrinsically tied to a role. They only express the action itself.
null
(for pass move). The color is black or white. This class is immutable, references are unique.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|