CloneSet2323


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1855
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java
2826
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/LocalVariableLocator.java
Clone Instance
1
Line Count
8
Source Line
55
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java

        int referencesLevel = IMPOSSIBLE_MATCH;
        if (this.pattern.findReferences)
                // must be a write only access with an initializer
                if (this.pattern.writeAccess && !this.pattern.readAccess && node.initialization != null)
                        if (matchesName(this.pattern.name, node.name))
                                referencesLevel = ((InternalSearchPattern) this.pattern).mustResolve ? POSSIBLE_MATCH: ACCURATE_MATCH;

        int declarationsLevel = IMPOSSIBLE_MATCH;


Clone Instance
2
Line Count
8
Source Line
26
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/LocalVariableLocator.java

        int referencesLevel = IMPOSSIBLE_MATCH;
        if (this.pattern.findReferences)
                // must be a write only access with an initializer
                if (this.pattern.writeAccess && !this.pattern.readAccess && node.initialization != null)
                        if (matchesName(this.pattern.name, node.name))
                                referencesLevel = ((InternalSearchPattern) this.pattern).mustResolve ? POSSIBLE_MATCH: ACCURATE_MATCH;

        int declarationsLevel = IMPOSSIBLE_MATCH;


Clone AbstractionParameter Count: 0Parameter Bindings

int referencesLevel = IMPOSSIBLE_MATCH;
if (this.pattern.findReferences)
  // must be a write only access with an initializer
  if (this.pattern.writeAccess && !this.pattern.readAccess && node.initialization != null)
    if (matchesName(this.pattern.name, node.name))
      referencesLevel = ((InternalSearchPattern) this.pattern).mustResolve ? POSSIBLE_MATCH: ACCURATE_MATCH;
int declarationsLevel = IMPOSSIBLE_MATCH;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None