CloneSet5207


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.985statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16139
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java
26313
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java
Clone Instance
1
Line Count
6
Source Line
139
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java

                // need exact match to be able to open on type ref
                if (accuracy != SearchMatch.A_ACCURATE) return;

                // element that references the field must be included in the enclosing element
                DeclarationOfAccessedFieldsPattern declPattern = (DeclarationOfAccessedFieldsPattern) this.pattern;
                while (element != null && !declPattern.enclosingElement.equals(element))
                        element = element.getParent();


Clone Instance
2
Line Count
6
Source Line
313
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java

                // need exact match to be able to open on type ref
                if (accuracy != SearchMatch.A_ACCURATE) return;

                // element that references the method must be included in the enclosing element
                DeclarationOfReferencedMethodsPattern declPattern = (DeclarationOfReferencedMethodsPattern) this.pattern;
                while (element != null && !declPattern.enclosingElement.equals(element))
                        element = element.getParent();


Clone AbstractionParameter Count: 1Parameter Bindings

// need exact match to be able to open on type ref
if (accuracy != SearchMatch.A_ACCURATE)
  return;
 [[#variableb80dda40]] declPattern = ( [[#variableb80dda40]]) this.pattern;
while (element != null && !declPattern.enclosingElement.equals(element))
  element = element.getParent();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b80dda40]]
// element that references the method must be included in the enclosing element
DeclarationOfReferencedMethodsPattern 
12[[#b80dda40]]
// element that references the field must be included in the enclosing element
DeclarationOfAccessedFieldsPattern