CloneSet3315


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1111668
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
2111715
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
Clone Instance
1
Line Count
11
Source Line
1668
Source File
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;
        }


Clone Instance
2
Line Count
11
Source Line
1715
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java

        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;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#975b9480]]
getSuperClassStubTypeContext 
12[[#975b9480]]
getSuperInterfacesStubTypeContext 
21[[#975b93e0]]
fSuperClassStubTypeContext 
22[[#975b93e0]]
fSuperInterfaceStubTypeContext 
31[[#975b9340]]
createSuperClassStubTypeContext 
32[[#975b9340]]
createSuperInterfaceStubTypeContext