CloneSet5128


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.986class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17407
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
27425
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
Clone Instance
1
Line Count
7
Source Line
407
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java

        /**
         *  returns true if the specified file is a generated file (i.e., it has one or more parent files)
         *  
         *  @param f the file in question
         *  @return true
         */
        public synchronized boolean isGeneratedFile( IFile f)
        {
                Set<IFile> s = _generatedFile2ParentFiles.get( f);
                if ( s == null || s.isEmpty())
                        return false;
                else
                        return true;
        }


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

        /**
         *  returns true if the specified file is a parent  file (i.e., it has one or more generated files)  
         *  
         *  @param f - the file in question
         *  @return true if the file is a parent, false otherwise
         *  
         *  @see #getGeneratedFilesForParent(IFile)
         *  @see #isGeneratedFile(IFile)
         */
        public synchronized boolean isParentFile( IFile f)
        {
                Set<IFile> s = _parentFile2GeneratedFiles.get( f);
                if ( s == null || s.isEmpty())
                        return false;
                else
                        return true;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         *  returns true if the specified file is a generated file (i.e., it has one or more parent files)
         *  
         *  @param f the file in question
         *  @return true
         */
/**
         *  returns true if the specified file is a parent  file (i.e., it has one or more generated files)  
         *  
         *  @param f - the file in question
         *  @return true if the file is a parent, false otherwise
         *  
         *  @see #getGeneratedFilesForParent(IFile)
         *  @see #isGeneratedFile(IFile)
         */
public synchronized boolean  [[#variablea5ef7720]](IFile f) {
  Set<IFile> s = [[#variablea5ef7620]].get(f);
  if (s == null || s.isEmpty())
    return false;
  else
    return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5ef7720]]
isGeneratedFile 
12[[#a5ef7720]]
isParentFile 
21[[#a5ef7620]]
_generatedFile2ParentFiles 
22[[#a5ef7620]]
_parentFile2GeneratedFiles