CloneSet1289


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10320.980block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111186
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java
210103
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/MemberDeclarationImpl.java
310106
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeParameterDeclarationImpl.java
Clone Instance
1
Line Count
11
Source Line
186
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java

        {
                final ASTNode node = getRangeNode();
                if (node == null)  return null;
        final CompilationUnit unit = getCompilationUnit();
        final int start = node.getStartPosition();
        return new SourcePositionImpl(
                        start, 
                                node.getLength(), 
                                unit.getLineNumber(start), 
                                unit.getColumnNumber(start), 
                                this );
        }


Clone Instance
2
Line Count
10
Source Line
103
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/MemberDeclarationImpl.java

                            {
                        final ASTNode node = getRangeNode();
                        if (node == null)  return null;
            final CompilationUnit unit = getCompilationUnit();
            final int start = node.getStartPosition();
            return new SourcePositionImpl(start, 
                                        node.getLength(), 
                                        unit.getLineNumber(start), 
                                        unit.getColumnNumber(start), 
                                        this );
                            }


Clone Instance
3
Line Count
10
Source Line
106
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeParameterDeclarationImpl.java

        {
                        final ASTNode node = getAstNode();
                        if (node == null)  return null;
            final CompilationUnit unit = getCompilationUnit();
            final int offset = node.getStartPosition();
            return new SourcePositionImpl(offset, 
                                              node.getLength(), 
                                                                  unit.getLineNumber(offset), 
                                                                  unit.getColumnNumber(offset), 
                                                                  this );
        }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  final ASTNode node = [[#variablea0825260]]();
  if (node == null)
    return null;
  final CompilationUnit unit = getCompilationUnit();
  final int  [[#variablea0825200]]= node.getStartPosition();
  return new SourcePositionImpl( [[#variablea0825200]], node.getLength(), unit.getLineNumber( [[#variablea0825200]]), unit.getColumnNumber( [[#variablea0825200]]), this );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0825260]]
getRangeNode 
12[[#a0825260]]
getAstNode 
13[[#a0825260]]
getRangeNode 
21[[#a0825200]]
start 
22[[#a0825200]]
offset 
23[[#a0825200]]
start