private String getFullPathForLog ( OutputResult or , String targetFilename ) { if ( or . sameDirectory ( ) ) { return targetFilename ; } else { return or . getGeneratedSource ( ) . getFullPath ( targetFilename ) ; } }
Use it only to display proper path in log