Interface CodeCopyMapper
- All Known Implementing Classes:
AbstractCodeCopyMapper, CodeCopyMapperDefault
-
Method Summary
-
Method Details
-
map
- Type Parameters:
N- type of the givenCodeNode.- Parameters:
node- theCodeNodeto map. May benullfor simplicity. In such casenullhas to be returned. ExtendAbstractCodeCopyMapperto avoid mistakes.type- theCodeCopyTypedefining the relation of theCodeNodeto map.- Returns:
- the given
CodeNodeor a mapped replacement (e.g. acopyof it).
-
mapName
-