Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.979 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 830 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java |
2 | 5 | 845 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java |
| ||||
// Try to get binding from cache Binding binding = (Binding) this.bindings.get(typeKey); if (binding != null) { if (binding instanceof TypeBinding && binding.isValidBinding()) return (TypeBinding) binding; return null; } |
| ||||
// Try to get binding from cache Binding binding = (Binding) this.bindings.get(methodPattern); if (binding != null) { if (binding instanceof MethodBinding && binding.isValidBinding()) return (MethodBinding) binding; return null; } |
| |||
// Try to get binding from cache Binding binding = (Binding) this.bindings.get( [[#variable550c6b40]]); if (binding != null) { if (binding instanceof [[#variable550c6b00]]&& binding.isValidBinding()) return ( [[#variable550c6b00]]) binding; return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#550c6b40]] | typeKey |
1 | 2 | [[#550c6b40]] | methodPattern |
2 | 1 | [[#550c6b00]] | TypeBinding |
2 | 2 | [[#550c6b00]] | MethodBinding |