Providing a list of statements will be a bit more complex for a plugin but will lead to get less false-positives.
Cross project duplication detection for .Net
Use new extension point for cross project duplication detection
Cross project duplication detection for Flex
Remove the support of PMD CPD
Note that BlockChunker (algorithm to build blocks) should not depend on StatementChunker and should work for any unit of source code for which we can determine hash and position, e.g. Token.
This new API should also allow to override the number of lines of code to take into account when building blocks.