CloneSet5409


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.962executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15394
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java
25399
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java
Clone Instance
1
Line Count
5
Source Line
394
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java

                                                                                                  {
                                        VariableDeclarationStatement statement = (VariableDeclarationStatement) fragment.getParent();
                                        ASTNode result = (ASTNode) statement.getStructuralProperty(VariableDeclarationStatement.TYPE_PROPERTY);
                                        if (isRawTypeReference(result))
                                                return result;
                                                                                                  }


Clone Instance
2
Line Count
5
Source Line
399
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java

                                                                                             {
                                        FieldDeclaration declaration = (FieldDeclaration) fragment.getParent();
                                        ASTNode result = (ASTNode) declaration.getStructuralProperty(FieldDeclaration.TYPE_PROPERTY);
                                        if (isRawTypeReference(result))
                                                return result;
                                                                                             }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variablea04faee0]]  [[#variablea04fade0]]= ( [[#variablea04faee0]]) fragment.getParent();
  ASTNode result = (ASTNode)  [[#variablea04fade0]].getStructuralProperty( [[#variablea04faee0]].TYPE_PROPERTY);
  if (isRawTypeReference(result))
    return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a04faee0]]
VariableDeclarationStatement 
12[[#a04faee0]]
FieldDeclaration 
21[[#a04fade0]]
statement 
22[[#a04fade0]]
declaration