| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 3 | 0.964 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 183 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java |
| 2 | 2 | 187 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java |
| 3 | 2 | 220 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java |
| ||||
private static boolean isInterfaceOrAnnotationMethod(IMember member) throws JavaModelException {
return member.getElementType() == IJavaElement.METHOD && isInterfaceOrAnnotationMember(member);
}
|
| ||||
private static boolean isInterfaceOrAnnotationField(IMember member) throws JavaModelException {
return member.getElementType() == IJavaElement.FIELD && isInterfaceOrAnnotationMember(member);
}
|
| ||||
private static boolean isEnumConstant(IMember member) throws JavaModelException {
return member.getElementType() == IJavaElement.FIELD && isEnum(member);
}
|
| |||
private static boolean [[#variable978080e0]](IMember member) throws JavaModelException {
return member.getElementType() == IJavaElement. [[#variable97808060]]&& [[#variable971ebfe0]](member);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#978080e0]] | isInterfaceOrAnnotationMethod |
| 1 | 2 | [[#978080e0]] | isInterfaceOrAnnotationField |
| 1 | 3 | [[#978080e0]] | isEnumConstant |
| 2 | 1 | [[#97808060]] | METHOD |
| 2 | 2 | [[#97808060]] | FIELD |
| 2 | 3 | [[#97808060]] | FIELD |
| 3 | 1 | [[#971ebfe0]] | isInterfaceOrAnnotationMember |
| 3 | 2 | [[#971ebfe0]] | isInterfaceOrAnnotationMember |
| 3 | 3 | [[#971ebfe0]] | isEnum |