Modifier and Type | Method and Description |
---|---|
Block |
Block.Builder.build() |
Modifier and Type | Method and Description |
---|---|
List<Block> |
BlockChunker.chunk(String resourceId,
List<Statement> statements) |
Modifier and Type | Method and Description |
---|---|
static List<CloneGroup> |
OriginalCloneDetectionAlgorithm.detect(CloneIndex cloneIndex,
Collection<Block> fileBlocks)
Performs detection and returns list of clone groups between file (which represented as a collection of blocks) and index.
|
Modifier and Type | Method and Description |
---|---|
Block |
TextSet.getBlock(int index) |
Modifier and Type | Method and Description |
---|---|
void |
TextSet.Builder.add(List<Block> list) |
static List<CloneGroup> |
SuffixTreeCloneDetectionAlgorithm.detect(CloneIndex cloneIndex,
Collection<Block> fileBlocks) |
Modifier and Type | Method and Description |
---|---|
Collection<Block> |
PackedMemoryCloneIndex.getByResourceId(String resourceId)
Performs search of blocks for specified resource.
|
Collection<Block> |
MemoryCloneIndex.getByResourceId(String resourceId) |
Collection<Block> |
CloneIndex.getByResourceId(String resourceId)
Performs search of blocks for specified resource.
|
Collection<Block> |
PackedMemoryCloneIndex.getBySequenceHash(ByteArray sequenceHash)
Performs search of blocks for specified hash value.
|
Collection<Block> |
MemoryCloneIndex.getBySequenceHash(ByteArray sequenceHash) |
Collection<Block> |
CloneIndex.getBySequenceHash(ByteArray hash)
Performs search of blocks for specified hash value.
|
Modifier and Type | Method and Description |
---|---|
void |
PackedMemoryCloneIndex.insert(Block block)
Adds specified block into index.
|
void |
MemoryCloneIndex.insert(Block block) |
void |
CloneIndex.insert(Block block)
Adds specified block into index.
|
Modifier and Type | Method and Description |
---|---|
List<Block> |
TokenizerBridge.chunk(String resourceId,
File file) |
List<Block> |
PmdBlockChunker.chunk(String resourceId,
List<org.sonar.duplications.internal.pmd.TokensLine> fragments) |
Modifier and Type | Method and Description |
---|---|
Collection<Block> |
DbDuplicationsIndex.getByHash(ByteArray hash) |
Collection<Block> |
SonarDuplicationsIndex.getByResource(Resource resource,
String resourceKey) |
Collection<Block> |
SonarDuplicationsIndex.getByResourceId(String resourceId) |
Collection<Block> |
SonarDuplicationsIndex.getBySequenceHash(ByteArray hash) |
Modifier and Type | Method and Description |
---|---|
void |
SonarDuplicationsIndex.insert(Block block) |
Modifier and Type | Method and Description |
---|---|
void |
SonarDuplicationsIndex.insert(Resource resource,
Collection<Block> blocks) |
void |
DbDuplicationsIndex.insert(Resource resource,
Collection<Block> blocks) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.