CloneSet9317


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.987statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1282
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFile.java
22165
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
Clone Instance
1
Line Count
2
Source Line
82
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFile.java

        // check whether the class file can be opened
        IStatus status = validateClassFile();
        if ( !status.isOK()) throw newJavaModelException(status);


Clone Instance
2
Line Count
2
Source Line
165
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

        // check whether this pkg fragment root can be opened
        IStatus status = validateOnClasspath();
        if ( !status.isOK()) throw newJavaModelException(status);


Clone AbstractionParameter Count: 1Parameter Bindings

// check whether the class file can be opened
// check whether this pkg fragment root can be opened
IStatus status = [[#variableb7920700]]();
if ( !status.isOK())
  throw newJavaModelException(status);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b7920700]]
validateClassFile 
12[[#b7920700]]
validateOnClasspath