CloneSet4887


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.972class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15152
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java
25165
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java
Clone Instance
1
Line Count
5
Source Line
152
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java

                protected String[] resolveAll(TemplateContext context) {
                String[] collections = ((JavaContext) context).getCollections();
                if (collections.length > 0)
                        return collections;
                return super.resolveAll(context);
                }


Clone Instance
2
Line Count
5
Source Line
165
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java

                protected String[] resolveAll(TemplateContext context) {
                String[] iterables = ((JavaContext) context).getIterables();
                if (iterables.length > 0)
                        return iterables;
                return super.resolveAll(context);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

protected String[] resolveAll(TemplateContext context) {
  String[]  [[#variableb20ecec0]]= ((JavaContext) context). [[#variableb20ecde0]]();
  if ( [[#variableb20ecec0]].length > 0)
    return [[#variableb20ecec0]];
  return super.resolveAll(context);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b20ecec0]]
collections 
12[[#b20ecec0]]
iterables 
21[[#b20ecde0]]
getCollections 
22[[#b20ecde0]]
getIterables