Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.986 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 134 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java |
2 | 5 | 198 | 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(); |
| ||||
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(); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53929640]] | exceptions |
1 | 2 | [[#53929640]] | paramTypes |
2 | 1 | [[#539295c0]] | getExceptionTypes |
2 | 2 | [[#539295c0]] | getParameterTypes |