Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 480 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitCompletion.java |
2 | 5 | 559 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java |
| ||||
/** * Returns the super interface signatures of <code>subType</code> if * <code>superType</code> is an interface, otherwise returns the super * type signature. * * @param subType the sub type signature * @param superType the super type signature * @return the super type signatures of <code>subType</code> * @throws JavaModelException if any java model operation fails */ private String[] getSuperTypeSignatures(IType subType, IType superType) throws JavaModelException { if (superType.isInterface()) return subType.getSuperInterfaceTypeSignatures(); else return new String[] { subType.getSuperclassTypeSignature() }; } |
| ||||
/** * Returns the super interface signatures of <code>subType</code> if * <code>superType</code> is an interface, otherwise returns the super * type signature. * * @param subType the sub type signature * @param superType the super type signature * @return the super type signatures of <code>subType</code> * @throws JavaModelException if any java model operation fails */ private String[] getSuperTypeSignatures(IType subType, IType superType) throws JavaModelException { if (superType.isInterface()) return subType.getSuperInterfaceTypeSignatures(); else return new String[] { subType.getSuperclassTypeSignature() }; } |
| |||
/** * Returns the super interface signatures of <code>subType</code> if * <code>superType</code> is an interface, otherwise returns the super * type signature. * * @param subType the sub type signature * @param superType the super type signature * @return the super type signatures of <code>subType</code> * @throws JavaModelException if any java model operation fails */ /** * Returns the super interface signatures of <code>subType</code> if * <code>superType</code> is an interface, otherwise returns the super * type signature. * * @param subType the sub type signature * @param superType the super type signature * @return the super type signatures of <code>subType</code> * @throws JavaModelException if any java model operation fails */ private String[] getSuperTypeSignatures(IType subType, IType superType) throws JavaModelException { if (superType.isInterface()) return subType.getSuperInterfaceTypeSignatures(); else return new String[] { subType.getSuperclassTypeSignature() }; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |