org.sonar.duplications.cpd
Class MatchAlgorithm
java.lang.Object
org.sonar.duplications.cpd.MatchAlgorithm
public class MatchAlgorithm
- extends Object
Constructor Summary |
MatchAlgorithm(Map<String,net.sourceforge.pmd.cpd.SourceCode> sourceCode,
net.sourceforge.pmd.cpd.Tokens tokens,
int min)
|
MatchAlgorithm(Map<String,net.sourceforge.pmd.cpd.SourceCode> sourceCode,
net.sourceforge.pmd.cpd.Tokens tokens,
int min,
net.sourceforge.pmd.cpd.CPDListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchAlgorithm
public MatchAlgorithm(Map<String,net.sourceforge.pmd.cpd.SourceCode> sourceCode,
net.sourceforge.pmd.cpd.Tokens tokens,
int min)
MatchAlgorithm
public MatchAlgorithm(Map<String,net.sourceforge.pmd.cpd.SourceCode> sourceCode,
net.sourceforge.pmd.cpd.Tokens tokens,
int min,
net.sourceforge.pmd.cpd.CPDListener listener)
setLoadSourceCodeSlices
public void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
setListener
public void setListener(net.sourceforge.pmd.cpd.CPDListener listener)
matches
public Iterator<Match> matches()
tokenAt
public net.sourceforge.pmd.cpd.TokenEntry tokenAt(int offset,
net.sourceforge.pmd.cpd.TokenEntry m)
getMinimumTileSize
public int getMinimumTileSize()
findMatches
public void findMatches()
Copyright © 2009-2010 SonarSource. All Rights Reserved.