Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.973 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 753 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 8 | 775 | 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); } } } |
| ||||
{ 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()); } } } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b436b680]] | enclosingType |
1 | 2 | [[#b436b680]] | scope.enclosingSourceType() |