CloneSet7007


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2250.952class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12107
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/ASTFragmentFactory.java
22170
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/ASTFragmentFactory.java
Clone Instance
1
Line Count
2
Source Line
107
Source File
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);
        }


Clone Instance
2
Line Count
2
Source Line
170
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/ASTFragmentFactory.java

                private static IExpressionFragment createInfixExpressionSubPartFragmentBySourceRange(InfixExpression node, SourceRange range, ICompilationUnit cu) throws JavaModelException {
                        return AssociativeInfixExpressionFragment.createSubPartFragmentBySourceRange(node, range, cu);
                }


Clone AbstractionParameter Count: 5Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54fdfca0]]
IASTFragment 
12[[#54fdfca0]]
IExpressionFragment 
21[[#54fdfc00]]
createFragmentForSubPartBySourceRange 
22[[#54fdfc00]]
createInfixExpressionSubPartFragmentBySourceRange 
31[[#54fdfb60]]
ASTNode 
32[[#54fdfb60]]
InfixExpression 
41[[#54fdfb00]]
FragmentForSubPartBySourceRangeFactory 
42[[#54fdfb00]]
AssociativeInfixExpressionFragment 
51[[#54fdfa80]]
createFragmentFor 
52[[#54fdfa80]]
createSubPartFragmentBySourceRange