@Beta public interface Duplication
Duplicationis a list of duplicated
Duplication.Blocks. One block is considered as the original code and all others are duplicates. Use
SensorContext.newDuplication()to manually create a duplication. Use
SensorContext#duplicationTokenBuilder(org.sonar.api.batch.fs.InputFile)to feed tokens and let the core compute duplications.
Copyright © 2009–2015 SonarSource. All rights reserved.