CloneSet4949


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12250.951class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11227
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/CompilationUnitEntry.java
21232
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/FileEntry.java
Clone Instance
1
Line Count
12
Source Line
27
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/CompilationUnitEntry.java

        public String getMessage() {
                return fMessage;
        }

        public ICompilationUnit getCompilationUnit() {
                return fCompilationUnit;
        }

        public Object getAdapter(Class adapter) {
                if (ICompilationUnit.class .equals(adapter))
                        return getCompilationUnit();
                return null;
        }


Clone Instance
2
Line Count
12
Source Line
32
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/FileEntry.java

        public String getMessage() {
                return fMessage;
        }

        public String toString() {
                return fMessage;
        }

        public Object getAdapter(Class adapter) {
                if (IResource.class .equals(adapter))
                        return fPropertiesFile;
                return null;
        }


Clone AbstractionParameter Count: 5Parameter Bindings

public String getMessage() {
  return fMessage;
}

public [[#variable77ab26c0]]  [[#variable77ab26a0]]() {
  return [[#variable61c3cc00]];
}

public Object getAdapter(Class adapter) {
  if ( [[#variable77ab2680]].class .equals(adapter))
    return [[#variable77ab2340]];
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77ab26c0]]
String 
12[[#77ab26c0]]
ICompilationUnit 
21[[#77ab26a0]]
toString 
22[[#77ab26a0]]
getCompilationUnit 
31[[#61c3cc00]]
fMessage 
32[[#61c3cc00]]
fCompilationUnit 
41[[#77ab2680]]
IResource 
42[[#77ab2680]]
ICompilationUnit 
51[[#77ab2340]]
fPropertiesFile 
52[[#77ab2340]]
getCompilationUnit()