Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.984 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 2269 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java |
2 | 2 | 2380 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java |
| ||||
/** * Scans the given string for a type signature starting at the given * index and appends it to the given buffer, and returns the index of the last * character. * * @param string the signature string * @param start the 0-based character index of the first character * @param fullyQualifyTypeNames <code>true</code> if type names should be fully * qualified, and <code>false</code> to use only simple names * @param buffer the string buffer to append to * @return the 0-based character index of the last character * @exception IllegalArgumentException if this is not a type signature * @see Util#scanTypeSignature(char[], int) */ private static int appendTypeSignature(char[] string, int start, boolean fullyQualifyTypeNames, StringBuffer buffer) { return appendTypeSignature(string, start, fullyQualifyTypeNames, buffer, false); } |
| ||||
/** * Scans the given string for an array type signature starting at the given * index and appends it to the given buffer, and returns the index of the last * character. * * @param string the signature string * @param start the 0-based character index of the first character * @param fullyQualifyTypeNames <code>true</code> if type names should be fully * qualified, and <code>false</code> to use only simple names * @return the 0-based character index of the last character * @exception IllegalArgumentException if this is not an array type signature * @see Util#scanArrayTypeSignature(char[], int) */ private static int appendArrayTypeSignature(char[] string, int start, boolean fullyQualifyTypeNames, StringBuffer buffer) { return appendArrayTypeSignature(string, start, fullyQualifyTypeNames, buffer, false); } |
| |||
/** * Scans the given string for a type signature starting at the given * index and appends it to the given buffer, and returns the index of the last * character. * * @param string the signature string * @param start the 0-based character index of the first character * @param fullyQualifyTypeNames <code>true</code> if type names should be fully * qualified, and <code>false</code> to use only simple names * @param buffer the string buffer to append to * @return the 0-based character index of the last character * @exception IllegalArgumentException if this is not a type signature * @see Util#scanTypeSignature(char[], int) */ /** * Scans the given string for an array type signature starting at the given * index and appends it to the given buffer, and returns the index of the last * character. * * @param string the signature string * @param start the 0-based character index of the first character * @param fullyQualifyTypeNames <code>true</code> if type names should be fully * qualified, and <code>false</code> to use only simple names * @return the 0-based character index of the last character * @exception IllegalArgumentException if this is not an array type signature * @see Util#scanArrayTypeSignature(char[], int) */ private static int [[#variable9cbd5a20]](char[] string, int start, boolean fullyQualifyTypeNames, StringBuffer buffer) { return [[#variable9cbd5a20]](string, start, fullyQualifyTypeNames, buffer, false); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9cbd5a20]] | appendTypeSignature |
1 | 2 | [[#9cbd5a20]] | appendArrayTypeSignature |