Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.962 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 476 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
2 | 5 | 483 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
3 | 5 | 506 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
| ||||
public static IMethodBinding getMethodBinding(Name node) { IBinding binding = node.resolveBinding(); if (binding instanceof IMethodBinding) return (IMethodBinding) binding; return null; } |
| ||||
public static IVariableBinding getVariableBinding(Name node) { IBinding binding = node.resolveBinding(); if (binding instanceof IVariableBinding) return (IVariableBinding) binding; return null; } |
| ||||
public static ITypeBinding getTypeBinding(Name node) { IBinding binding = node.resolveBinding(); if (binding instanceof ITypeBinding) return (ITypeBinding) binding; return null; } |
| |||
public static [[#variableb0bf3100]] [[#variableb0bf3060]](Name node) { IBinding binding = node.resolveBinding(); if (binding instanceof [[#variableb0bf3100]]) return ( [[#variableb0bf3100]]) binding; return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b0bf3100]] | IMethodBinding |
1 | 2 | [[#b0bf3100]] | IVariableBinding |
1 | 3 | [[#b0bf3100]] | ITypeBinding |
2 | 1 | [[#b0bf3060]] | getMethodBinding |
2 | 2 | [[#b0bf3060]] | getVariableBinding |
2 | 3 | [[#b0bf3060]] | getTypeBinding |