CloneSet3603


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110197
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java
210747
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
Clone Instance
1
Line Count
10
Source Line
197
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java

                try {
                        // clear out all markers during a clean.
                        IMarker[] markers = p.findMarkers(AptPlugin.APT_BATCH_PROCESSOR_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
                        if (markers != null) {
                                for (IMarker marker:  markers)
                                        marker.delete();
                        }
                }
                catch (CoreException e) {
                        AptPlugin.log(e, "Unable to delete batch annotation processor markers"); //$NON-NLS-1$
                }


Clone Instance
2
Line Count
10
Source Line
747
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java

                try {
                        // clear out any generated source folder config markers
                        IMarker[] markers = _jProject.getProject().findMarkers(AptPlugin.APT_CONFIG_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
                        if (markers != null) {
                                for (IMarker marker:  markers)
                                        marker.delete();
                        }
                }
                catch (CoreException e) {
                        AptPlugin.log(e, "Unable to delete configuration marker."); //$NON-NLS-1$
                }


Clone AbstractionParameter Count: 3Parameter Bindings

try {
  // clear out all markers during a clean.
  // clear out any generated source folder config markers
  IMarker[] markers = [[#variable511060e0]].findMarkers(AptPlugin. [[#variable51106060]], true, IResource.DEPTH_INFINITE);
  if (markers != null) {
    for (IMarker marker: markers)
      marker.delete();
  }
}
catch (CoreException e) {
  AptPlugin.log(e,  [[#variable511060c0]]); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#511060e0]]
p 
12[[#511060e0]]
_jProject.getProject() 
21[[#51106060]]
APT_BATCH_PROCESSOR_PROBLEM_MARKER 
22[[#51106060]]
APT_CONFIG_PROBLEM_MARKER 
31[[#511060c0]]
"Unable to delete batch annotation processor markers" 
32[[#511060c0]]
"Unable to delete configuration marker."