org.sonar.duplications.internal.pmd
Class PmdBlockChunker
java.lang.Object
org.sonar.duplications.internal.pmd.PmdBlockChunker
public class PmdBlockChunker
- extends Object
Differences with BlockChunker
:
works with TokensLine
,
sets startUnit
and endUnit
- indexes of first and last token for this block.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmdBlockChunker
public PmdBlockChunker(int blockSize)
chunk
public List<Block> chunk(String resourceId,
List<org.sonar.duplications.internal.pmd.TokensLine> fragments)
Copyright © 2009-2012 SonarSource. All Rights Reserved.