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.994 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 428 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java |
2 | 9 | 218 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.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) this.receiverType.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(). [[#variable5936b6e0]](this.codegenBinding, (ReferenceBinding) this. [[#variable5936b680]].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 | [[#5936b6e0]] | getUpdatedMethodBinding |
1 | 2 | [[#5936b6e0]] | getUpdatedFieldBinding |
2 | 1 | [[#5936b680]] | actualReceiverType |
2 | 2 | [[#5936b680]] | receiverType |