Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.974 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 1668 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
2 | 11 | 1715 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
private StubTypeContext getSuperClassStubTypeContext() { if (fSuperClassStubTypeContext == null) { String typeName; if (fCurrType != null) { typeName = getTypeName(); } else { typeName = JavaTypeCompletionProcessor.DUMMY_CLASS_NAME; } fSuperClassStubTypeContext = TypeContextChecker.createSuperClassStubTypeContext(typeName, getEnclosingType(), getPackageFragment()); } return fSuperClassStubTypeContext; } |
| ||||
private StubTypeContext getSuperInterfacesStubTypeContext() { if (fSuperInterfaceStubTypeContext == null) { String typeName; if (fCurrType != null) { typeName = getTypeName(); } else { typeName = JavaTypeCompletionProcessor.DUMMY_CLASS_NAME; } fSuperInterfaceStubTypeContext = TypeContextChecker.createSuperInterfaceStubTypeContext(typeName, getEnclosingType(), getPackageFragment()); } return fSuperInterfaceStubTypeContext; } |
| |||
private StubTypeContext [[#variable975b9480]]() { if ( [[#variable975b93e0]]== null) { String typeName; if (fCurrType != null) { typeName = getTypeName(); } else { typeName = JavaTypeCompletionProcessor.DUMMY_CLASS_NAME; } [[#variable975b93e0]]= TypeContextChecker. [[#variable975b9340]](typeName, getEnclosingType(), getPackageFragment()); } return [[#variable975b93e0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#975b9480]] | getSuperClassStubTypeContext |
1 | 2 | [[#975b9480]] | getSuperInterfacesStubTypeContext |
2 | 1 | [[#975b93e0]] | fSuperClassStubTypeContext |
2 | 2 | [[#975b93e0]] | fSuperInterfaceStubTypeContext |
3 | 1 | [[#975b9340]] | createSuperClassStubTypeContext |
3 | 2 | [[#975b9340]] | createSuperInterfaceStubTypeContext |