CloneSet3382


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.995statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1101426
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java
2101499
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java
Clone Instance
1
Line Count
10
Source Line
1426
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java

                        while (nodeType == ASTNode.QUALIFIED_NAME) {
                                node = node.getParent();
                                nodeType = node.getNodeType();
                                if (nodeType == ASTNode.IMPORT_DECLARATION)
                                        return false;
                        }

                        // 2: match interfaces
                        IBinding binding = token.getBinding();
                        return binding instanceof ITypeBinding && ((ITypeBinding) binding).isInterface();


Clone Instance
2
Line Count
10
Source Line
1499
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java

                        while (nodeType == ASTNode.QUALIFIED_NAME) {
                                node = node.getParent();
                                nodeType = node.getNodeType();
                                if (nodeType == ASTNode.IMPORT_DECLARATION)
                                        return false;
                        }

                        // 2: match annotations
                        IBinding binding = token.getBinding();
                        return binding instanceof ITypeBinding && ((ITypeBinding) binding).isAnnotation();


Clone AbstractionParameter Count: 1Parameter Bindings

while (nodeType == ASTNode.QUALIFIED_NAME) {
  node = node.getParent();
  nodeType = node.getNodeType();
  if (nodeType == ASTNode.IMPORT_DECLARATION)
    return false;
}
// 2: match annotations
// 2: match interfaces
IBinding binding = token.getBinding();
return binding instanceof ITypeBinding && ((ITypeBinding) binding). [[#variable579b69a0]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#579b69a0]]
isAnnotation 
12[[#579b69a0]]
isInterface