CloneSet1217


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8320.973statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18838
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java
27853
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java
38870
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java
Clone Instance
1
Line Count
8
Source Line
838
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java

                                                if (CharOperation.equals(patternTypeArgument, boundBinding.shortReadableName(), this.isCaseSensitive) ||
                                                        CharOperation.equals(patternTypeArgument, boundBinding.readableName(), this.isCaseSensitive)) {
                                                        // found name in hierarchy => match
                                                        continue nextTypeArgument;
                                                }
                                                else   if (boundBinding.isLocalType() || boundBinding.isMemberType()) {
                                                        // for local or member type, verify also source name (bug 81084)
                                                        if (CharOperation.match(patternTypeArgument, boundBinding.sourceName(), this.isCaseSensitive))
                                                                continue nextTypeArgument;
                                                       }


Clone Instance
2
Line Count
7
Source Line
853
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java

                                // See if names match
                                if (CharOperation.match(patternTypeArgument, argTypeBinding.shortReadableName(), this.isCaseSensitive) ||
                                        CharOperation.match(patternTypeArgument, argTypeBinding.readableName(), this.isCaseSensitive)) {
                                        continue nextTypeArgument;
                                }
                                else   if (argTypeBinding.isLocalType() || argTypeBinding.isMemberType()) {
                                        // for local or member type, verify also source name (bug 81084)
                                        if (CharOperation.match(patternTypeArgument, argTypeBinding.sourceName(), this.isCaseSensitive))
                                                continue nextTypeArgument;
                                       }


Clone Instance
3
Line Count
8
Source Line
870
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java

                                        if (CharOperation.equals(patternTypeArgument, refBinding.shortReadableName(), this.isCaseSensitive) ||
                                                CharOperation.equals(patternTypeArgument, refBinding.readableName(), this.isCaseSensitive)) {
                                                // found name in hierarchy => match
                                                continue nextTypeArgument;
                                        }
                                        else   if (refBinding.isLocalType() || refBinding.isMemberType()) {
                                                // for local or member type, verify also source name (bug 81084)
                                                if (CharOperation.match(patternTypeArgument, refBinding.sourceName(), this.isCaseSensitive))
                                                        continue nextTypeArgument;
                                               }


Clone AbstractionParameter Count: 2Parameter Bindings

// See if names match
if (CharOperation. [[#variableb2c1e8e0]](patternTypeArgument,  [[#variableb2c1e920]].shortReadableName(), this.isCaseSensitive) || CharOperation. [[#variableb2c1e8e0]](patternTypeArgument,  [[#variableb2c1e920]].readableName(), this.isCaseSensitive)) {
  // found name in hierarchy => match
  continue nextTypeArgument;
}
else
  if ( [[#variableb2c1e920]].isLocalType() || [[#variableb2c1e920]].isMemberType()) {
    // for local or member type, verify also source name (bug 81084)
    if (CharOperation.match(patternTypeArgument,  [[#variableb2c1e920]].sourceName(), this.isCaseSensitive))
      continue nextTypeArgument;
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2c1e8e0]]
equals 
12[[#b2c1e8e0]]
match 
13[[#b2c1e8e0]]
equals 
21[[#b2c1e920]]
boundBinding 
22[[#b2c1e920]]
argTypeBinding 
23[[#b2c1e920]]
refBinding