CloneSet2059


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.996executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112273
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java
212294
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java
Clone Instance
1
Line Count
12
Source Line
273
Source File
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);
                                        }
                                }
                                                                                }


Clone Instance
2
Line Count
12
Source Line
294
Source File
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, OVERRIDE);
                                                result.add(operation);
                                        }
                                }
                                                                                               }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57bab240]]
DEPRECATED 
12[[#57bab240]]
OVERRIDE