Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.955 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 218 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
2 | 2 | 222 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
| ||||
public static PackageDeclaration getPackageDeclarationNode(IPackageDeclaration reference, CompilationUnit cuNode) throws JavaModelException { return (PackageDeclaration) findNode(reference.getSourceRange(), cuNode); } |
| ||||
public static ImportDeclaration getImportDeclarationNode(IImportDeclaration reference, CompilationUnit cuNode) throws JavaModelException { return (ImportDeclaration) findNode(reference.getSourceRange(), cuNode); } |
| |||
public static [[#variable505d2d40]] [[#variable505d2c80]]( [[#variable505d2c20]] reference, CompilationUnit cuNode) throws JavaModelException { return ( [[#variable505d2d40]]) findNode(reference.getSourceRange(), cuNode); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#505d2d40]] | PackageDeclaration |
1 | 2 | [[#505d2d40]] | ImportDeclaration |
2 | 1 | [[#505d2c80]] | getPackageDeclarationNode |
2 | 2 | [[#505d2c80]] | getImportDeclarationNode |
3 | 1 | [[#505d2c20]] | IPackageDeclaration |
3 | 2 | [[#505d2c20]] | IImportDeclaration |