CloneSet4922


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.986statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17134
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
25198
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
Clone Instance
1
Line Count
7
Source Line
134
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java

                        if ( !executable.isBindingBased())
                                throw new IllegalStateException("binary executable without binding."); //$NON-NLS-1$
                        // it is binary, since we don't support the class file format, will rely on the
                        // binding and hope that it's complete.
                        final ExecutableDeclarationImpl impl = (ExecutableDeclarationImpl) executable;
                        final IMethodBinding methodBinding = impl.getDeclarationBinding();
                final ITypeBinding[] paramTypes = methodBinding.getParameterTypes();


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

                        if ( !executable.isBindingBased())
                                throw new IllegalStateException("binary executable without binding."); //$NON-NLS-1$
                        final ExecutableDeclarationImpl impl = (ExecutableDeclarationImpl) executable;
                        final IMethodBinding methodBinding = impl.getDeclarationBinding();
                final ITypeBinding[] exceptions = methodBinding.getExceptionTypes();


Clone AbstractionParameter Count: 2Parameter Bindings

if ( !executable.isBindingBased())
  throw new IllegalStateException("binary executable without binding."); //$NON-NLS-1$
// it is binary, since we don't support the class file format, will rely on the
// binding and hope that it's complete.
final ExecutableDeclarationImpl impl = (ExecutableDeclarationImpl) executable;
final IMethodBinding methodBinding = impl.getDeclarationBinding();
final ITypeBinding[]  [[#variable53929640]]= methodBinding. [[#variable539295c0]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53929640]]
exceptions 
12[[#53929640]]
paramTypes 
21[[#539295c0]]
getExceptionTypes 
22[[#539295c0]]
getParameterTypes