CloneSet3064


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9310.986class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19171
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java
29182
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java
39193
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java
Clone Instance
1
Line Count
9
Source Line
171
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java

        public boolean visit(TypeDeclaration node) {
                if ( ++fTypes > 1)
                        return false;
                return super.visit(node);
        }

        public void endVisit(TypeDeclaration node) {
                --fTypes;
                super.endVisit(node);
        }


Clone Instance
2
Line Count
9
Source Line
182
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java

        public boolean visit(EnumDeclaration node) {
                if ( ++fTypes > 1)
                        return false;
                return super.visit(node);
        }

        public void endVisit(EnumDeclaration node) {
                --fTypes;
                super.endVisit(node);
        }


Clone Instance
3
Line Count
9
Source Line
193
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java

        public boolean visit(AnnotationTypeDeclaration node) {
                if ( ++fTypes > 1)
                        return false;
                return super.visit(node);
        }

        public void endVisit(AnnotationTypeDeclaration node) {
                --fTypes;
                super.endVisit(node);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public boolean visit( [[#variable98819760]] node) {
  if ( ++fTypes > 1)
    return false;
  return super.visit(node);
}

public void endVisit( [[#variable98819760]] node) {
  --fTypes;
  super.endVisit(node);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98819760]]
AnnotationTypeDeclaration 
12[[#98819760]]
EnumDeclaration 
13[[#98819760]]
TypeDeclaration