Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 1247 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java |
2 | 4 | 1687 | 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. * 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$ } |
| ||||
/** * 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$ } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a152a1e0]] | JavaCore |
1 | 2 | [[#a152a1e0]] | AptPlugin |