CloneSet3519


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.995class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113184
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java
21890
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java
Clone Instance
1
Line Count
13
Source Line
184
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java

        public void setContent(byte[] content) {
                super.setContent(content);
                nodeChanged(this );
        }

        public ITypedElement replace(ITypedElement child, ITypedElement other) {
                nodeChanged(this );
                return child;
        }

        void nodeChanged(JavaNode node) {
                if (fParent != null)
                        fParent.nodeChanged(node);
        }


Clone Instance
2
Line Count
18
Source Line
90
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java

                public void setContent(byte[] content) {
                        super.setContent(content);
                        nodeChanged(this );
                }

                public ITypedElement replace(ITypedElement child, ITypedElement other) {
                        /* commented out for #34745
                        ITypedElement e= super.replace(child, other);
                        nodeChanged(this);
                        return e;
                        */
                        nodeChanged(this );
                        return child;
                }

                void nodeChanged(PropertyNode node) {
                        if (fParent != null)
                                fParent.nodeChanged(node);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

public void setContent(byte[] content) {
  super.setContent(content);
  nodeChanged(this );
}

public ITypedElement replace(ITypedElement child, ITypedElement other) {
  /* commented out for #34745
                          ITypedElement e= super.replace(child, other);
                          nodeChanged(this);
                          return e;
                          */
  nodeChanged(this );
  return child;
}

void nodeChanged( [[#variable614ff740]] node) {
  if (fParent != null)
    fParent.nodeChanged(node);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#614ff740]]
JavaNode 
12[[#614ff740]]
PropertyNode