Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 91 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java |
2 | 6 | 137 | 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); } } |
| ||||
/** * 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); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#975b5680]] | NonWhitespace |
1 | 2 | [[#975b5680]] | NonJavaIdentifierPart |
2 | 1 | [[#975b55a0]] | isWhitespace |
2 | 2 | [[#975b55a0]] | isJavaIdentifierPart |