Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 4 | 0.974 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 587 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AnnotationProcessorFactoryLoader.java |
2 | 15 | 622 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AnnotationProcessorFactoryLoader.java |
| ||||
{ String message = Messages.bind( Messages.AnnotationProcessorFactoryLoader_factorypath_missingLibrary, new String[] { fc.getId(), project.getName() } ); IMarker marker = project.createMarker(AptPlugin.APT_LOADER_PROBLEM_MARKER); marker.setAttributes( new String[] { IMarker.MESSAGE, IMarker.SEVERITY, IMarker.LOCATION }, new Object[] { message, IMarker.SEVERITY_ERROR, Messages.AnnotationProcessorFactoryLoader_factorypath } ); } |
| ||||
{ String message = Messages.bind( Messages.AnnotationProcessorFactoryLoader_unableToLoadFactoryClass, new String[] { factoryName, project.getName() } ); IMarker marker = project.createMarker(AptPlugin.APT_LOADER_PROBLEM_MARKER); marker.setAttributes( new String[] { IMarker.MESSAGE, IMarker.SEVERITY, IMarker.LOCATION }, new Object[] { message, IStatus.ERROR, Messages.AnnotationProcessorFactoryLoader_factorypath } ); } |
| |||
{ String message = Messages.bind(Messages. [[#variableb55ed400]], new String[] { [[#variable76b83f80]], project.getName() } ); IMarker marker = project.createMarker(AptPlugin.APT_LOADER_PROBLEM_MARKER); marker.setAttributes(new String[] { IMarker.MESSAGE, IMarker.SEVERITY, IMarker.LOCATION }, new Object[] { message, [[#variableb55ed300]]. [[#variableb55ed320]], Messages.AnnotationProcessorFactoryLoader_factorypath } ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b55ed400]] | AnnotationProcessorFactoryLoader_unableToLoadFactoryClass |
1 | 2 | [[#b55ed400]] | AnnotationProcessorFactoryLoader_factorypath_missingLibrary |
2 | 1 | [[#76b83f80]] | factoryName |
2 | 2 | [[#76b83f80]] | fc.getId() |
3 | 1 | [[#b55ed300]] | IStatus |
3 | 2 | [[#b55ed300]] | IMarker |
4 | 1 | [[#b55ed320]] | ERROR |
4 | 2 | [[#b55ed320]] | SEVERITY_ERROR |