CloneSet3066


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.986class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191314
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
292530
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
9
Source Line
1314
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

        /**
         *  Returns the info for the element.
         */
        public synchronized Object getInfo(IJavaElement element) {
                HashMap tempCache = (HashMap) this.temporaryCache.get();
                if (tempCache != null) {
                        Object result = tempCache.get(element);
                        if (result != null) {
                                return result;
                        }
                }
                return this.cache.getInfo(element);
        }


Clone Instance
2
Line Count
9
Source Line
2530
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

        /**
         *  Returns the info for this element without
         *  disturbing the cache ordering.
         */
        protected synchronized Object peekAtInfo(IJavaElement element) {
                HashMap tempCache = (HashMap) this.temporaryCache.get();
                if (tempCache != null) {
                        Object result = tempCache.get(element);
                        if (result != null) {
                                return result;
                        }
                }
                return this.cache.peekAtInfo(element);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable596e12a0]]synchronized Object  [[#variable55eb9440]](IJavaElement element) {
  HashMap tempCache = (HashMap) this.temporaryCache.get();
  if (tempCache != null) {
    Object result = tempCache.get(element);
    if (result != null) {
      return result;
    }
  }
  return this.cache. [[#variable55eb9440]](element);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#596e12a0]]
/**
 *  Returns the info for this element without
 *  disturbing the cache ordering.
 */
protected 
12[[#596e12a0]]
/**
 *  Returns the info for the element.
 */
public 
21[[#55eb9440]]
peekAtInfo 
22[[#55eb9440]]
getInfo