CloneSet3085


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.995class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113362
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java
213432
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java
Clone Instance
1
Line Count
13
Source Line
362
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java

                public ASTNode[] getInvocations(BodyDeclaration declaration, IProgressMonitor pm) {
                        BodyData data = (BodyData) fBodies.get(declaration);
                        Assert.isNotNull(data);
                        fastDone(pm);
                        return data.getInvocations();
                }

                public RefactoringStatus checkActivation() throws JavaModelException {
                        return new RefactoringStatus();
                }

                public int getStatusSeverity() {
                        return RefactoringStatus.ERROR;
                }


Clone Instance
2
Line Count
13
Source Line
432
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java

                public ASTNode[] getInvocations(BodyDeclaration declaration, IProgressMonitor pm) {
                        BodyData data = (BodyData) fCurrentBodies.get(declaration);
                        Assert.isNotNull(data);
                        fastDone(pm);
                        return data.getInvocations();
                }

                public RefactoringStatus checkActivation() throws JavaModelException {
                        return new RefactoringStatus();
                }

                public int getStatusSeverity() {
                        return RefactoringStatus.ERROR;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

public ASTNode[] getInvocations(BodyDeclaration declaration, IProgressMonitor pm) {
  BodyData data = (BodyData)  [[#variable9783a940]].get(declaration);
  Assert.isNotNull(data);
  fastDone(pm);
  return data.getInvocations();
}

public RefactoringStatus checkActivation() throws JavaModelException {
  return new RefactoringStatus();
}

public int getStatusSeverity() {
  return RefactoringStatus.ERROR;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9783a940]]
fCurrentBodies 
12[[#9783a940]]
fBodies