CloneSet8467


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1691
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java
26137
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java
Clone Instance
1
Line Count
6
Source Line
91
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java

        /**
         * Stops upon a non-whitespace (as defined by {@link Character#isWhitespace(char)}) character.
         */
        private static class NonWhitespace extends StopCondition {
                /*
                 * @see org.eclipse.jdt.internal.ui.text.JavaHeuristicScanner.StopCondition#stop(char)
                 */
                public boolean stop(char ch, int position, boolean forward) {
                        return !Character.isWhitespace(ch);
                }
        }


Clone Instance
2
Line Count
6
Source Line
137
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java

        /**
         * Stops upon a non-java identifier (as defined by {@link Character#isJavaIdentifierPart(char)}) character.
         */
        private static class NonJavaIdentifierPart extends StopCondition {
                /*
                 * @see org.eclipse.jdt.internal.ui.text.JavaHeuristicScanner.StopCondition#stop(char)
                 */
                public boolean stop(char ch, int position, boolean forward) {
                        return !Character.isJavaIdentifierPart(ch);
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Stops upon a non-whitespace (as defined by {@link Character#isWhitespace(char)}) character.
         */
/**
         * Stops upon a non-java identifier (as defined by {@link Character#isJavaIdentifierPart(char)}) character.
         */
private static class [[#variable975b5680]]extends StopCondition {
  /*
                   * @see org.eclipse.jdt.internal.ui.text.JavaHeuristicScanner.StopCondition#stop(char)
                   */
  public boolean stop(char ch, int position, boolean forward) {
    return !Character. [[#variable975b55a0]](ch);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#975b5680]]
NonWhitespace 
12[[#975b5680]]
NonJavaIdentifierPart 
21[[#975b55a0]]
isWhitespace 
22[[#975b55a0]]
isJavaIdentifierPart