Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 5 | 0.952 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 107 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/ASTFragmentFactory.java |
2 | 2 | 170 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/ASTFragmentFactory.java |
| ||||
/** * Returns <code>null</code> if the indices, taken with respect to * the node, do not correspond to a valid node-sub-part * fragment. */ private static IASTFragment createFragmentForSubPartBySourceRange(ASTNode node, SourceRange range, ICompilationUnit cu) throws JavaModelException { return FragmentForSubPartBySourceRangeFactory.createFragmentFor(node, range, cu); } |
| ||||
private static IExpressionFragment createInfixExpressionSubPartFragmentBySourceRange(InfixExpression node, SourceRange range, ICompilationUnit cu) throws JavaModelException { return AssociativeInfixExpressionFragment.createSubPartFragmentBySourceRange(node, range, cu); } |
| |||
/** * Returns <code>null</code> if the indices, taken with respect to * the node, do not correspond to a valid node-sub-part * fragment. */ private static [[#variable54fdfca0]] [[#variable54fdfc00]]( [[#variable54fdfb60]] node, SourceRange range, ICompilationUnit cu) throws JavaModelException { return [[#variable54fdfb00]]. [[#variable54fdfa80]](node, range, cu); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54fdfca0]] | IASTFragment |
1 | 2 | [[#54fdfca0]] | IExpressionFragment |
2 | 1 | [[#54fdfc00]] | createFragmentForSubPartBySourceRange |
2 | 2 | [[#54fdfc00]] | createInfixExpressionSubPartFragmentBySourceRange |
3 | 1 | [[#54fdfb60]] | ASTNode |
3 | 2 | [[#54fdfb60]] | InfixExpression |
4 | 1 | [[#54fdfb00]] | FragmentForSubPartBySourceRangeFactory |
4 | 2 | [[#54fdfb00]] | AssociativeInfixExpressionFragment |
5 | 1 | [[#54fdfa80]] | createFragmentFor |
5 | 2 | [[#54fdfa80]] | createSubPartFragmentBySourceRange |