Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.951 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 116 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java |
2 | 2 | 129 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java |
3 | 2 | 142 | 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); } |
| ||||
/** * 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); } |
| ||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#655a69c0]] | isValidFolder |
1 | 2 | [[#655a69c0]] | isValidExcludedFolder |
1 | 3 | [[#655a69c0]] | isValidExcludedFile |
2 | 1 | [[#655a7e80]] | IResource |
2 | 2 | [[#655a7e80]] | IResource |
2 | 3 | [[#655a7e80]] | IFile |
3 | 1 | [[#655a7f80]] | resource |
3 | 2 | [[#655a7f80]] | resource |
3 | 3 | [[#655a7f80]] | file |