Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.970 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 347 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java |
2 | 8 | 756 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java |
| ||||
SourceTypeBinding sourceType; try { sourceType = (SourceTypeBinding) declaringClass; } catch (ClassCastException e) { return null; } FieldDeclaration[] fields = sourceType.scope.referenceContext.fields; |
| ||||
SourceTypeBinding sourceType; try { sourceType = (SourceTypeBinding) declaringClass; } catch (ClassCastException e) { return null; } AbstractMethodDeclaration[] methods = sourceType.scope.referenceContext.methods; |
| |||
SourceTypeBinding sourceType; try { sourceType = (SourceTypeBinding) declaringClass; } catch (ClassCastException e) { return null; } [[#variable57e88440]][] [[#variable57c31160]]= sourceType.scope.referenceContext. [[#variable57c31160]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57e88440]] | AbstractMethodDeclaration |
1 | 2 | [[#57e88440]] | FieldDeclaration |
2 | 1 | [[#57c31160]] | methods |
2 | 2 | [[#57c31160]] | fields |