CloneSet2498


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112167
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
212121
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaDocContext.java
Clone Instance
1
Line Count
12
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

                        int end = getCompletionOffset() + getCompletionLength();

                        while (start != 0 && Character.isUnicodeIdentifierPart(document.getChar(start - 1)))
                                start--;

                        while (start != end && Character.isWhitespace(document.getChar(start)))
                                start++;

                        if (start == end)
                                start = getCompletionOffset();

                                return start;


Clone Instance
2
Line Count
12
Source Line
121
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaDocContext.java

                        int end = getCompletionOffset() + getCompletionLength();

                        while (start != 0 && Character.isUnicodeIdentifierPart(document.getChar(start - 1)))
                                start--;

                        while (start != end && Character.isWhitespace(document.getChar(start)))
                                start++;

                        if (start == end)
                                start = getCompletionOffset();

                        return start;


Clone AbstractionParameter Count: 0Parameter Bindings

int end = getCompletionOffset() + getCompletionLength();
while (start != 0 && Character.isUnicodeIdentifierPart(document.getChar(start - 1)))
  start--;
while (start != end && Character.isWhitespace(document.getChar(start)))
  start++;
if (start == end)
  start = getCompletionOffset();
return start;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None