CloneSet4322


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.956class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131243
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
231248
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
Clone Instance
1
Line Count
3
Source Line
1243
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

        private boolean isInAnonymousTypeInsideInputType(ASTNode node, AbstractTypeDeclaration declaration) {
                final AnonymousClassDeclaration anonymous = (AnonymousClassDeclaration) ASTNodes.getParent(node, AnonymousClassDeclaration.class );
                return anonymous != null && ASTNodes.isParent(anonymous, declaration);
        }


Clone Instance
2
Line Count
3
Source Line
1248
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

        private boolean isInLocalTypeInsideInputType(ASTNode node, AbstractTypeDeclaration declaration) {
                final TypeDeclarationStatement statement = (TypeDeclarationStatement) ASTNodes.getParent(node, TypeDeclarationStatement.class );
                return statement != null && ASTNodes.isParent(statement, declaration);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

private boolean  [[#variableb8895ce0]](ASTNode node, AbstractTypeDeclaration declaration) {
  final [[#variableb8895c60]]  [[#variableb8895c00]]= ( [[#variableb8895c60]]) ASTNodes.getParent(node,  [[#variableb8895c60]].class );
  return [[#variableb8895c00]]!= null && ASTNodes.isParent( [[#variableb8895c00]], declaration);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8895ce0]]
isInAnonymousTypeInsideInputType 
12[[#b8895ce0]]
isInLocalTypeInsideInputType 
21[[#b8895c60]]
AnonymousClassDeclaration 
22[[#b8895c60]]
TypeDeclarationStatement 
31[[#b8895c00]]
anonymous 
32[[#b8895c00]]
statement