CloneSet1778


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15240.974block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115587
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AnnotationProcessorFactoryLoader.java
215622
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AnnotationProcessorFactoryLoader.java
Clone Instance
1
Line Count
15
Source Line
587
Source File
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
                                                             } );
                            }


Clone Instance
2
Line Count
15
Source Line
622
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AnnotationProcessorFactoryLoader.java

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


Clone AbstractionParameter Count: 4Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b55ed400]]
AnnotationProcessorFactoryLoader_unableToLoadFactoryClass 
12[[#b55ed400]]
AnnotationProcessorFactoryLoader_factorypath_missingLibrary 
21[[#76b83f80]]
factoryName 
22[[#76b83f80]]
fc.getId() 
31[[#b55ed300]]
IStatus 
32[[#b55ed300]]
IMarker 
41[[#b55ed320]]
ERROR 
42[[#b55ed320]]
SEVERITY_ERROR