CloneSet2265


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5301.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1544
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
25103
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
35164
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
Clone Instance
1
Line Count
5
Source Line
44
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java

                // the dom ast does not provide type parameter list for annotation element
                // that incorrectly includes them in the text
                if (executable == null || executable.kind() == MirrorKind.ANNOTATION_ELEMENT)
                        return Collections.emptyList();
                if (executable.kind() != MirrorKind.METHOD && executable.kind() != MirrorKind.CONSTRUCTOR)
                        throw new IllegalArgumentException("Executable is not a method " +  //$NON-NLS-1$
                                                            executable.getClass().getName());


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

                // the dom ast does not provide parameter list for annotation element
                // that incorrectly includes them in the text
                if (executable == null || executable.kind() == MirrorKind.ANNOTATION_ELEMENT)
                        return Collections.emptyList();
                if (executable.kind() != MirrorKind.METHOD && executable.kind() != MirrorKind.CONSTRUCTOR)
                        throw new IllegalArgumentException("Executable is not a method " +  //$NON-NLS-1$
                                                            executable.getClass().getName());


Clone Instance
3
Line Count
5
Source Line
164
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java

                if (executable == null || executable.kind() == MirrorKind.ANNOTATION_ELEMENT)
                        return Collections.emptyList();
                if (executable.kind() != MirrorKind.METHOD && executable.kind() != MirrorKind.CONSTRUCTOR)
                        throw new IllegalArgumentException("Executable is not a method " +  //$NON-NLS-1$
                                                            executable.getClass().getName());


Clone AbstractionParameter Count: 0Parameter Bindings

// the dom ast does not provide parameter list for annotation element
// the dom ast does not provide type parameter list for annotation element
// that incorrectly includes them in the text
if (executable == null || executable.kind() == MirrorKind.ANNOTATION_ELEMENT)
  return Collections.emptyList();
if (executable.kind() != MirrorKind.METHOD && executable.kind() != MirrorKind.CONSTRUCTOR)
  throw new IllegalArgumentException("Executable is not a method " + //$NON-NLS-1$
                                      executable.getClass().getName());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None