CloneSet4041


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1789
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/NestedTypeBinding.java
27101
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/NestedTypeBinding.java
Clone Instance
1
Line Count
7
Source Line
89
Source File
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;
        }


Clone Instance
2
Line Count
7
Source Line
101
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/NestedTypeBinding.java

        /* 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;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/* 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b311d180]]
LocalVariableBinding 
12[[#b311d180]]
ReferenceBinding 
21[[#b311d0a0]]
actualOuterLocalVariable 
22[[#b311d0a0]]
targetEnclosingType