CloneSet5974


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15642
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java
26691
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java
Clone Instance
1
Line Count
5
Source Line
642
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java

                                                                if ( !this.acceptedAnswer) {
                                                                        this.nameEnvironment.findTypes(this.selectedIdentifier, false, false, this );
                                                                        // try with simple type name
                                                                        if ( !this.acceptedAnswer) {
                                                                                acceptQualifiedTypes();
                                                                        }
                                                                }


Clone Instance
2
Line Count
6
Source Line
691
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java

                        // only reaches here if no selection could be derived from the parsed tree
                        // thus use the selected source and perform a textual type search
                        if ( !this.acceptedAnswer) {
                                this.nameEnvironment.findTypes(this.selectedIdentifier, false, false, this );

                                // accept qualified types only if no unqualified type was accepted
                                if ( !this.acceptedAnswer) {
                                        acceptQualifiedTypes();
                                }
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

// only reaches here if no selection could be derived from the parsed tree
// thus use the selected source and perform a textual type search
if ( !this.acceptedAnswer) {
  this.nameEnvironment.findTypes(this.selectedIdentifier, false, false, this );
  // try with simple type name
  // accept qualified types only if no unqualified type was accepted
  if ( !this.acceptedAnswer) {
    acceptQualifiedTypes();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None