CloneSet5731


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.968class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1580
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedAnnotationElementDeclarationImpl.java
2470
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedFieldDeclarationImpl.java
Clone Instance
1
Line Count
5
Source Line
80
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedAnnotationElementDeclarationImpl.java

    public String getSimpleName()
    {
        final AnnotationTypeMemberDeclaration memberAstNode = getMemberAstNode();
        final SimpleName nameNode = memberAstNode.getName();
        return nameNode == null ? EMPTY_STRING:  nameNode.getIdentifier();
    }


Clone Instance
2
Line Count
4
Source Line
70
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedFieldDeclarationImpl.java

    public String getSimpleName() {
                final VariableDeclarationFragment fragment = getAstNode();
                final SimpleName nameNode = fragment.getName();
                return nameNode == null ? EMPTY_STRING:  nameNode.getIdentifier();
    }


Clone AbstractionParameter Count: 3Parameter Bindings

public String getSimpleName() {
  final [[#variable93839e20]]  [[#variable93839d80]]= [[#variable93839d20]]();
  final SimpleName nameNode = [[#variable93839d80]].getName();
  return nameNode == null ? EMPTY_STRING: nameNode.getIdentifier();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93839e20]]
VariableDeclarationFragment 
12[[#93839e20]]
AnnotationTypeMemberDeclaration 
21[[#93839d80]]
fragment 
22[[#93839d80]]
memberAstNode 
31[[#93839d20]]
getAstNode 
32[[#93839d20]]
getMemberAstNode