Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.982 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 318 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetFieldReference.java |
2 | 9 | 184 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java |
| ||||
{ CompilerOptions options = currentScope.compilerOptions(); if ((options.targetJDK >= ClassFileConstants.JDK1_2 && (options.complianceLevel >= ClassFileConstants.JDK1_4 || !receiver.isImplicitThis() || !this.codegenBinding.isStatic()) && this.binding.declaringClass.id != T_JavaLangObject) // no change for Object fields || !this.binding.declaringClass.canBeSeenBy(currentScope)) { this.codegenBinding = currentScope.enclosingSourceType().getUpdatedFieldBinding( this.codegenBinding, (ReferenceBinding) someReceiverType.erasure() ); } } |
| ||||
{ CompilerOptions options = currentScope.compilerOptions(); if ((options.targetJDK >= ClassFileConstants.JDK1_2 && (options.complianceLevel >= ClassFileConstants.JDK1_4 || !receiver.isImplicitThis() || !this.codegenBinding.isStatic()) && this.binding.declaringClass.id != T_JavaLangObject) // no change for Object methods || !this.binding.declaringClass.canBeSeenBy(currentScope)) { this.codegenBinding = currentScope.enclosingSourceType().getUpdatedMethodBinding( this.codegenBinding, (ReferenceBinding) this.actualReceiverType.erasure()); } // Post 1.4.0 target, array clone() invocations are qualified with array type // This is handled in array type #clone method binding resolution (see Scope and UpdatedMethodBinding) } |
| |||
{ CompilerOptions options = currentScope.compilerOptions(); if ((options.targetJDK >= ClassFileConstants.JDK1_2 && (options.complianceLevel >= ClassFileConstants.JDK1_4 || !receiver.isImplicitThis() || !this.codegenBinding.isStatic()) && this.binding.declaringClass.id != T_JavaLangObject) // no change for Object methods // no change for Object fields || !this.binding.declaringClass.canBeSeenBy(currentScope)) { this.codegenBinding = currentScope.enclosingSourceType(). [[#variable96279740]](this.codegenBinding, (ReferenceBinding) [[#variable962796e0]].erasure()); } // Post 1.4.0 target, array clone() invocations are qualified with array type // This is handled in array type #clone method binding resolution (see Scope and UpdatedMethodBinding) } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#96279740]] | getUpdatedMethodBinding |
1 | 2 | [[#96279740]] | getUpdatedFieldBinding |
2 | 1 | [[#962796e0]] | this.actualReceiverType |
2 | 2 | [[#962796e0]] | someReceiverType |