Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 89 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/NestedTypeBinding.java |
2 | 7 | 101 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/NestedTypeBinding.java |
| ||||
/* Add a new synthetic argument and field for <actualOuterLocalVariable>. * Answer the new argument or the existing argument if one already existed. */ public SyntheticArgumentBinding addSyntheticArgumentAndField(LocalVariableBinding actualOuterLocalVariable) { SyntheticArgumentBinding synthLocal = addSyntheticArgument(actualOuterLocalVariable); if (synthLocal == null) return null; if (synthLocal.matchingField == null) synthLocal.matchingField = addSyntheticFieldForInnerclass(actualOuterLocalVariable); return synthLocal; } |
| ||||
/* Add a new synthetic argument and field for <enclosingType>. * Answer the new argument or the existing argument if one already existed. */ public SyntheticArgumentBinding addSyntheticArgumentAndField(ReferenceBinding targetEnclosingType) { SyntheticArgumentBinding synthLocal = addSyntheticArgument(targetEnclosingType); if (synthLocal == null) return null; if (synthLocal.matchingField == null) synthLocal.matchingField = addSyntheticFieldForInnerclass(targetEnclosingType); return synthLocal; } |
| |||
/* Add a new synthetic argument and field for <actualOuterLocalVariable>. * Answer the new argument or the existing argument if one already existed. */ /* Add a new synthetic argument and field for <enclosingType>. * Answer the new argument or the existing argument if one already existed. */ public SyntheticArgumentBinding addSyntheticArgumentAndField( [[#variableb311d180]] [[#variableb311d0a0]]) { SyntheticArgumentBinding synthLocal = addSyntheticArgument( [[#variableb311d0a0]]); if (synthLocal == null) return null; if (synthLocal.matchingField == null) synthLocal.matchingField = addSyntheticFieldForInnerclass( [[#variableb311d0a0]]); return synthLocal; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b311d180]] | LocalVariableBinding |
1 | 2 | [[#b311d180]] | ReferenceBinding |
2 | 1 | [[#b311d0a0]] | actualOuterLocalVariable |
2 | 2 | [[#b311d0a0]] | targetEnclosingType |