CloneSet4893


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
141247
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
241687
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
4
Source Line
1247
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java

        /**
         * Returns the File to use for saving and restoring the last built state for the given project.
         * Returns null if the project does not exists (e.g. has been deleted)
         */
        private File getSerializationFile(IProject project) {
                if ( !project.exists()) return null;
                IPath workingLocation = project.getWorkingLocation(AptPlugin.PLUGIN_ID);
                return workingLocation.append("state.dat").toFile(); //$NON-NLS-1$
        }


Clone Instance
2
Line Count
4
Source Line
1687
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

        /**
         * Returns the File to use for saving and restoring the last built state for the given project.
         */
        private File getSerializationFile(IProject project) {
                if ( !project.exists()) return null;
                IPath workingLocation = project.getWorkingLocation(JavaCore.PLUGIN_ID);
                return workingLocation.append("state.dat").toFile(); //$NON-NLS-1$
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Returns the File to use for saving and restoring the last built state for the given project.
         */
/**
         * Returns the File to use for saving and restoring the last built state for the given project.
         * Returns null if the project does not exists (e.g. has been deleted)
         */
private File getSerializationFile(IProject project) {
  if ( !project.exists())
    return null;
  IPath workingLocation = project.getWorkingLocation( [[#variablea152a1e0]].PLUGIN_ID);
  return workingLocation.append("state.dat").toFile(); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a152a1e0]]
JavaCore 
12[[#a152a1e0]]
AptPlugin