CloneSet5920


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2330.951class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12116
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java
22129
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java
32142
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java
Clone Instance
1
Line Count
2
Source Line
116
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java

        /**
         * Find out whether the folder can be unexcluded or not.
         * 
         * @param resource the resource to be checked
         * @param project the Java project
         * @return <code>true</code> if the folder can be unexcluded, <code>
         * false</code> otherwise
         * @throws JavaModelException
         */
        private boolean isValidFolder(IResource resource, IJavaProject project) throws JavaModelException {
                return ClasspathModifier.isExcluded(resource, project);
        }


Clone Instance
2
Line Count
2
Source Line
129
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java

        /**
         * Find out whether the excluded folder can be unexcluded or not.
         * 
         * @param resource the resource to be checked
         * @param project the Java project
         * @return <code>true</code> if the folder can be unexcluded, <code>
         * false</code> otherwise
         * @throws JavaModelException
         */
        private boolean isValidExcludedFolder(IResource resource, IJavaProject project) throws JavaModelException {
                return ClasspathModifier.isExcluded(resource, project);
        }


Clone Instance
3
Line Count
2
Source Line
142
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java

        /**
         * Find out whether the file can be excluded or not.
         * 
         * @param file the file to be checked
         * @param project the Java project
         * @return <code>true</code> if the file can be unexcluded, <code>
         * false</code> otherwise
         * @throws JavaModelException
         */
        private boolean isValidExcludedFile(IFile file, IJavaProject project) throws JavaModelException {
                return ClasspathModifier.isExcluded(file, project);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Find out whether the folder can be unexcluded or not.
         * 
         * @param resource the resource to be checked
         * @param project the Java project
         * @return <code>true</code> if the folder can be unexcluded, <code>
         * false</code> otherwise
         * @throws JavaModelException
         */
/**
         * Find out whether the excluded folder can be unexcluded or not.
         * 
         * @param resource the resource to be checked
         * @param project the Java project
         * @return <code>true</code> if the folder can be unexcluded, <code>
         * false</code> otherwise
         * @throws JavaModelException
         */
/**
         * Find out whether the file can be excluded or not.
         * 
         * @param file the file to be checked
         * @param project the Java project
         * @return <code>true</code> if the file can be unexcluded, <code>
         * false</code> otherwise
         * @throws JavaModelException
         */
private boolean  [[#variable655a69c0]]( [[#variable655a7e80]]  [[#variable655a7f80]], IJavaProject project) throws JavaModelException {
  return ClasspathModifier.isExcluded( [[#variable655a7f80]], project);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#655a69c0]]
isValidFolder 
12[[#655a69c0]]
isValidExcludedFolder 
13[[#655a69c0]]
isValidExcludedFile 
21[[#655a7e80]]
IResource 
22[[#655a7e80]]
IResource 
23[[#655a7e80]]
IFile 
31[[#655a7f80]]
resource 
32[[#655a7f80]]
resource 
33[[#655a7f80]]
file