CloneSet5385


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.970class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16299
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java
26310
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java
Clone Instance
1
Line Count
6
Source Line
299
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java

        /**
         * @see IJavaElement
         */
        public IJavaModel getJavaModel() {
                IJavaElement current = this ;
                do {
                        if (current instanceof IJavaModel) return (IJavaModel) current;
                }
                while (  (current = current.getParent()) != null);
                return null;
        }


Clone Instance
2
Line Count
6
Source Line
310
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java

        /**
         * @see IJavaElement
         */
        public IJavaProject getJavaProject() {
                IJavaElement current = this ;
                do {
                        if (current instanceof IJavaProject) return (IJavaProject) current;
                }
                while (  (current = current.getParent()) != null);
                return null;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * @see IJavaElement
         */
public [[#variablea52b7160]]  [[#variablea52b7100]]() {
  IJavaElement current = this ;
  do {
    if (current instanceof [[#variablea52b7160]])
      return ( [[#variablea52b7160]]) current;
  }
  while ((current = current.getParent()) != null);
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a52b7160]]
IJavaModel 
12[[#a52b7160]]
IJavaProject 
21[[#a52b7100]]
getJavaModel 
22[[#a52b7100]]
getJavaProject