CloneSet4340


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.987class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15101
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java
25108
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java
Clone Instance
1
Line Count
5
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java

        public void endVisit(SuperConstructorInvocation node) {
                if (getSelection().getEndVisitSelectionMode(node) == Selection.SELECTED) {
                        invalidSelection(RefactoringCoreMessages.SurroundWithTryCatchAnalyzer_cannotHandleSuper, JavaStatusContext.create(fCUnit, node));
                }
                super.endVisit(node);
        }


Clone Instance
2
Line Count
5
Source Line
108
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java

        public void endVisit(ConstructorInvocation node) {
                if (getSelection().getEndVisitSelectionMode(node) == Selection.SELECTED) {
                        invalidSelection(RefactoringCoreMessages.SurroundWithTryCatchAnalyzer_cannotHandleThis, JavaStatusContext.create(fCUnit, node));
                }
                super.endVisit(node);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public void endVisit( [[#variable52649060]] node) {
  if (getSelection().getEndVisitSelectionMode(node) == Selection.SELECTED) {
    invalidSelection(RefactoringCoreMessages. [[#variable52649000]], JavaStatusContext.create(fCUnit, node));
  }
  super.endVisit(node);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52649060]]
SuperConstructorInvocation 
12[[#52649060]]
ConstructorInvocation 
21[[#52649000]]
SurroundWithTryCatchAnalyzer_cannotHandleSuper 
22[[#52649000]]
SurroundWithTryCatchAnalyzer_cannotHandleThis