CloneSet1268


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.973executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18753
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
28775
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
8
Source Line
753
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                                                                        {
                                SourceTypeBinding enclosingType = scope.enclosingSourceType();
                                if ( !enclosingType.isAnnotationType()) {
                                        if ( !this.requestor.isIgnored(CompletionProposal.METHOD_DECLARATION)) {
                                                findMethods(this.completionToken, null, null, enclosingType, scope, new ObjectVector(), false, false, true, null, null, false, false, true);
                                        }
                                        if ( !this.requestor.isIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION)) {
                                                proposeNewMethod(this.completionToken, enclosingType);
                                        }
                                }
                                                                                                        }


Clone Instance
2
Line Count
8
Source Line
775
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                                               {
                                SourceTypeBinding enclosingType = scope.enclosingSourceType();
                                if ( !enclosingType.isAnnotationType()) {
                                        if ( !this.requestor.isIgnored(CompletionProposal.METHOD_DECLARATION)) {
                                                findMethods(this.completionToken, null, null, scope.enclosingSourceType(), scope, new ObjectVector(), false, false, true, null, null, false, false, true);
                                        }
                                        if ( !this.requestor.isIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION)) {
                                                proposeNewMethod(this.completionToken, scope.enclosingSourceType());
                                        }
                                }
                                                                               }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  SourceTypeBinding enclosingType = scope.enclosingSourceType();
  if ( !enclosingType.isAnnotationType()) {
    if ( !this.requestor.isIgnored(CompletionProposal.METHOD_DECLARATION)) {
      findMethods(this.completionToken, null, null,  [[#variableb436b680]], scope, new ObjectVector(), false, false, true, null, null, false, false, true);
    }
    if ( !this.requestor.isIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION)) {
      proposeNewMethod(this.completionToken,  [[#variableb436b680]]);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b436b680]]
enclosingType 
12[[#b436b680]]
scope.enclosingSourceType()