CloneSet7102


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1220.981statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11286
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java
21293
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java
Clone Instance
1
Line Count
1
Source Line
286
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java

//              IStatus status= JavaUIStatus.createError(code, TemplateMessages.getString("TemplateSet.error.read"), t); //$NON-NLS-1$
//              throw new JavaUIException(status);
                throw new CoreException(new Status(IStatus.ERROR, "org.eclipse.jface.text", code, JavaTemplateMessages.TemplateSet_error_read, t));  //$NON-NLS-1$


Clone Instance
2
Line Count
1
Source Line
293
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java

//              IStatus status= JavaUIStatus.createError(IJavaStatusConstants.TEMPLATE_IO_EXCEPTION,
//                      TemplateMessages.getString("TemplateSet.error.write"), t); //$NON-NLS-1$
//              throw new JavaUIException(status);
                throw new CoreException(new Status(IStatus.ERROR, "org.eclipse.jface.text", TEMPLATE_IO_EXCEPTION, JavaTemplateMessages.TemplateSet_error_write, t));  //$NON-NLS-1$


Clone AbstractionParameter Count: 2Parameter Bindings

//              IStatus status= JavaUIStatus.createError(IJavaStatusConstants.TEMPLATE_IO_EXCEPTION,
//                      TemplateMessages.getString("TemplateSet.error.write"), t); //$NON-NLS-1$
//              IStatus status= JavaUIStatus.createError(code, TemplateMessages.getString("TemplateSet.error.read"), t); //$NON-NLS-1$
//              throw new JavaUIException(status);
throw new CoreException(new Status(IStatus.ERROR, "org.eclipse.jface.text",  [[#variable5612cf00]], JavaTemplateMessages. [[#variable5612ce20]], t)); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5612cf00]]
TEMPLATE_IO_EXCEPTION 
12[[#5612cf00]]
code 
21[[#5612ce20]]
TemplateSet_error_write 
22[[#5612ce20]]
TemplateSet_error_read