Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.986 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1314 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
2 | 9 | 2530 | 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); } |
| ||||
/** * 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); } |
| |||
[[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#596e12a0]] | /** * Returns the info for this element without * disturbing the cache ordering. */ protected |
1 | 2 | [[#596e12a0]] | /** * Returns the info for the element. */ public |
2 | 1 | [[#55eb9440]] | peekAtInfo |
2 | 2 | [[#55eb9440]] | getInfo |