CloneSet5791


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.968class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1111038
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
2111056
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
Clone Instance
1
Line Count
11
Source Line
1038
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

        /**
         * Returns all non-static imports that are recorded to be added.
         * 
         * @return the imports recorded to be added.
         */
        public String[] getAddedImports() {
                return filterFromList(this.addedImports, NORMAL_PREFIX);
        }

        /**
         * Returns all static imports that are recorded to be added.
         * 
         * @return the static imports recorded to be added.
         */
        public String[] getAddedStaticImports() {
                return filterFromList(this.addedImports, STATIC_PREFIX);
        }


Clone Instance
2
Line Count
11
Source Line
1056
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

        /**
         * Returns all non-static imports that are recorded to be removed.
         * 
         * @return the imports recorded to be removed.
         */
        public String[] getRemovedImports() {
                return filterFromList(this.removedImports, NORMAL_PREFIX);
        }

        /**
         * Returns all static imports that are recorded to be removed.
         * 
         * @return the static imports recorded to be removed.
         */
        public String[] getRemovedStaticImports() {
                return filterFromList(this.removedImports, STATIC_PREFIX);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Returns all non-static imports that are recorded to be added.
         * 
         * @return the imports recorded to be added.
         */
/**
         * Returns all non-static imports that are recorded to be removed.
         * 
         * @return the imports recorded to be removed.
         */
public String[]  [[#variable951b8d60]]() {
  return filterFromList(this. [[#variable9579fae0]], NORMAL_PREFIX);
}

/**
         * Returns all static imports that are recorded to be added.
         * 
         * @return the static imports recorded to be added.
         */
/**
         * Returns all static imports that are recorded to be removed.
         * 
         * @return the static imports recorded to be removed.
         */
public String[]  [[#variable94e0c480]]() {
  return filterFromList(this. [[#variable9579fae0]], STATIC_PREFIX);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#951b8d60]]
getAddedImports 
12[[#951b8d60]]
getRemovedImports 
21[[#9579fae0]]
addedImports 
22[[#9579fae0]]
removedImports 
31[[#94e0c480]]
getAddedStaticImports 
32[[#94e0c480]]
getRemovedStaticImports