CloneSet2139


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.989statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110341
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java
210398
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java
Clone Instance
1
Line Count
10
Source Line
341
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java

                final ITypeParameter[] domain = type.getTypeParameters();
                if (domain.length > 0) {
                        final String signature = type.getSuperclassTypeSignature();
                        if (signature != null) {
                                final String[] range = getVariableSignatures(signature);
                                if (range.length > 0)
                                        return parametersToSignatures(domain, range, false);
                        }
                }
                return new TypeVariableMaplet[0];


Clone Instance
2
Line Count
10
Source Line
398
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java

                final ITypeParameter[] domain = supertype.getTypeParameters();
                if (domain.length > 0) {
                        final String signature = subtype.getSuperclassTypeSignature();
                        if (signature != null) {
                                final String[] range = getVariableSignatures(signature);
                                if (range.length > 0)
                                        return parametersToSignatures(domain, range, true);
                        }
                }
                return new TypeVariableMaplet[0];


Clone AbstractionParameter Count: 3Parameter Bindings

final ITypeParameter[] domain = [[#variablea4b49120]].getTypeParameters();
if (domain.length > 0) {
  final String signature = [[#variablebdd6f080]].getSuperclassTypeSignature();
  if (signature != null) {
    final String[] range = getVariableSignatures(signature);
    if (range.length > 0)
      return parametersToSignatures(domain, range,  [[#variablea4b49160]]);
  }
}
return new TypeVariableMaplet[0];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4b49120]]
supertype 
12[[#a4b49120]]
type 
21[[#bdd6f080]]
subtype 
22[[#bdd6f080]]
type 
31[[#a4b49160]]
true 
32[[#a4b49160]]
false