CloneSet1881


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11372
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
213222
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java
Clone Instance
1
Line Count
13
Source Line
72
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java

                String word = getDisplayString();
                if (isInJavadoc()) {
                        int idx = word.indexOf("{@link "); //$NON-NLS-1$
                        if (idx == 0) {
                                word = word.substring(7);
                        }
                        else   {
                                idx = word.indexOf("{@value "); //$NON-NLS-1$
                                if (idx == 0) {
                                        word = word.substring(8);
                                }
                        }
                }
                return isPrefix(prefix, word);


Clone Instance
2
Line Count
13
Source Line
222
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java

                String word = getDisplayString();
                if (isInJavadoc()) {
                        int idx = word.indexOf("{@link "); //$NON-NLS-1$
                        if (idx == 0) {
                                word = word.substring(7);
                        }
                        else   {
                                idx = word.indexOf("{@value "); //$NON-NLS-1$
                                if (idx == 0) {
                                        word = word.substring(8);
                                }
                        }
                }
                return isPrefix(prefix, word);


Clone AbstractionParameter Count: 0Parameter Bindings

String word = getDisplayString();
if (isInJavadoc()) {
  int idx = word.indexOf("{@link "); //$NON-NLS-1$
  if (idx == 0) {
    word = word.substring(7);
  }
  else {
    idx = word.indexOf("{@value "); //$NON-NLS-1$
    if (idx == 0) {
      word = word.substring(8);
    }
  }
}
return isPrefix(prefix, word);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None