Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.996 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 273 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java |
2 | 12 | 294 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java |
| ||||
{ IProblemLocation problem = locations[i]; ASTNode selectedNode = problem.getCoveringNode(compilationUnit); if (selectedNode != null) { ASTNode declaringNode = getDeclaringNode(selectedNode); if (declaringNode instanceof BodyDeclaration) { BodyDeclaration declaration = (BodyDeclaration) declaringNode; AnnotationRewriteOperation operation = new AnnotationRewriteOperation(declaration, DEPRECATED); result.add(operation); } } } |
| ||||
{ IProblemLocation problem = locations[i]; ASTNode selectedNode = problem.getCoveringNode(compilationUnit); if (selectedNode != null) { ASTNode declaringNode = getDeclaringNode(selectedNode); if (declaringNode instanceof BodyDeclaration) { BodyDeclaration declaration = (BodyDeclaration) declaringNode; AnnotationRewriteOperation operation = new AnnotationRewriteOperation(declaration, OVERRIDE); result.add(operation); } } } |
| |||
{ IProblemLocation problem = locations[i]; ASTNode selectedNode = problem.getCoveringNode(compilationUnit); if (selectedNode != null) { ASTNode declaringNode = getDeclaringNode(selectedNode); if (declaringNode instanceof BodyDeclaration) { BodyDeclaration declaration = (BodyDeclaration) declaringNode; AnnotationRewriteOperation operation = new AnnotationRewriteOperation(declaration, [[#variable57bab240]]); result.add(operation); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57bab240]] | DEPRECATED |
1 | 2 | [[#57bab240]] | OVERRIDE |