Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.956 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1243 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
2 | 3 | 1248 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
| ||||
private boolean isInAnonymousTypeInsideInputType(ASTNode node, AbstractTypeDeclaration declaration) { final AnonymousClassDeclaration anonymous = (AnonymousClassDeclaration) ASTNodes.getParent(node, AnonymousClassDeclaration.class ); return anonymous != null && ASTNodes.isParent(anonymous, declaration); } |
| ||||
private boolean isInLocalTypeInsideInputType(ASTNode node, AbstractTypeDeclaration declaration) { final TypeDeclarationStatement statement = (TypeDeclarationStatement) ASTNodes.getParent(node, TypeDeclarationStatement.class ); return statement != null && ASTNodes.isParent(statement, declaration); } |
| |||
private boolean [[#variableb8895ce0]](ASTNode node, AbstractTypeDeclaration declaration) { final [[#variableb8895c60]] [[#variableb8895c00]]= ( [[#variableb8895c60]]) ASTNodes.getParent(node, [[#variableb8895c60]].class ); return [[#variableb8895c00]]!= null && ASTNodes.isParent( [[#variableb8895c00]], declaration); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8895ce0]] | isInAnonymousTypeInsideInputType |
1 | 2 | [[#b8895ce0]] | isInLocalTypeInsideInputType |
2 | 1 | [[#b8895c60]] | AnonymousClassDeclaration |
2 | 2 | [[#b8895c60]] | TypeDeclarationStatement |
3 | 1 | [[#b8895c00]] | anonymous |
3 | 2 | [[#b8895c00]] | statement |