Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 463 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java |
2 | 17 | 518 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java |
| ||||
FieldBinding lastFieldBinding = generateReadSequence(currentScope, codeStream); SyntheticMethodBinding accessor = syntheticReadAccessors == null ? null: syntheticReadAccessors[syntheticReadAccessors.length - 1]; if (lastFieldBinding.isStatic()) { if (accessor == null) { codeStream.getstatic(lastFieldBinding); } else { codeStream.invokestatic(accessor); } } else { codeStream.dup(); if (accessor == null) { codeStream.getfield(lastFieldBinding); } else { codeStream.invokestatic(accessor); } } |
| ||||
FieldBinding lastFieldBinding = generateReadSequence(currentScope, codeStream); SyntheticMethodBinding accessor = syntheticReadAccessors == null ? null: syntheticReadAccessors[syntheticReadAccessors.length - 1]; if (lastFieldBinding.isStatic()) { if (accessor == null) { codeStream.getstatic(lastFieldBinding); } else { codeStream.invokestatic(accessor); } } else { codeStream.dup(); if (accessor == null) { codeStream.getfield(lastFieldBinding); } else { codeStream.invokestatic(accessor); } } |
| |||
FieldBinding lastFieldBinding = generateReadSequence(currentScope, codeStream); SyntheticMethodBinding accessor = syntheticReadAccessors == null ? null: syntheticReadAccessors[syntheticReadAccessors.length - 1]; if (lastFieldBinding.isStatic()) { if (accessor == null) { codeStream.getstatic(lastFieldBinding); } else { codeStream.invokestatic(accessor); } } else { codeStream.dup(); if (accessor == null) { codeStream.getfield(lastFieldBinding); } else { codeStream.invokestatic(accessor); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |