CloneSet1625


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11310.995statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111239
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
210392
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
310586
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
Clone Instance
1
Line Count
11
Source Line
239
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                String str = buffer.getString();
                if (Strings.containsOnlyWhitespaces(str)) {
                        return null;
                }

                TemplateVariable position = findVariable(buffer, CodeTemplateContextType.TAGS); // look if Javadoc tags have to be added
                if (position == null) {
                        return str;
                }

                IDocument document = new Document(str);


Clone Instance
2
Line Count
10
Source Line
392
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                String str = buffer.getString();
                if (Strings.containsOnlyWhitespaces(str)) {
                        return null;
                }
                TemplateVariable position = findVariable(buffer, CodeTemplateContextType.TAGS); // look if Javadoc tags have to be added
                if (position == null) {
                        return str;
                }

                IDocument document = new Document(str);


Clone Instance
3
Line Count
10
Source Line
586
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                String str = buffer.getString();
                if (Strings.containsOnlyWhitespaces(str)) {
                        return null;
                }
                TemplateVariable position = findVariable(buffer, CodeTemplateContextType.TAGS); // look if Javadoc tags have to be added
                if (position == null) {
                        return str;
                }

                IDocument textBuffer = new Document(str);


Clone AbstractionParameter Count: 1Parameter Bindings

String str = buffer.getString();
if (Strings.containsOnlyWhitespaces(str)) {
  return null;
}
TemplateVariable position = findVariable(buffer, CodeTemplateContextType.TAGS); // look if Javadoc tags have to be added
if (position == null) {
  return str;
}
IDocument  [[#variablec3449640]]= new Document(str);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c3449640]]
document 
12[[#c3449640]]
textBuffer 
13[[#c3449640]]
document