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.975 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 74 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SignatureUtil.java |
2 | 2 | 137 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SignatureUtil.java |
| ||||
/** * Returns the upper bound of a type signature. Returns the signature of <code>java.lang.Object</code> if * <code>signature</code> is a lower bound (<code>? super T</code>); returns * the signature of the type <code>T</code> of an upper bound (<code>? extends T</code>) * or <code>signature</code> itself if it is not a bound signature. * * @param signature the signature * @return the upper bound signature of <code>signature</code> */ public static String getUpperBound(String signature) { return String.valueOf(getUpperBound(signature.toCharArray())); } |
| ||||
/** * Returns the lower bound of a type signature. Returns the null type * signature if <code>signature</code> is a wildcard or upper bound (<code>? extends T</code>); * returns the signature of the type <code>T</code> of a lower bound (<code>? super T</code>) * or <code>signature</code> itself if it is not a bound signature. * * @param signature the signature * @return the lower bound signature of <code>signature</code> */ public static String getLowerBound(String signature) { return String.valueOf(getLowerBound(signature.toCharArray())); } |
| |||
/** * Returns the upper bound of a type signature. Returns the signature of <code>java.lang.Object</code> if * <code>signature</code> is a lower bound (<code>? super T</code>); returns * the signature of the type <code>T</code> of an upper bound (<code>? extends T</code>) * or <code>signature</code> itself if it is not a bound signature. * * @param signature the signature * @return the upper bound signature of <code>signature</code> */ /** * Returns the lower bound of a type signature. Returns the null type * signature if <code>signature</code> is a wildcard or upper bound (<code>? extends T</code>); * returns the signature of the type <code>T</code> of a lower bound (<code>? super T</code>) * or <code>signature</code> itself if it is not a bound signature. * * @param signature the signature * @return the lower bound signature of <code>signature</code> */ public static String [[#variableb48d2ae0]](String signature) { return String.valueOf( [[#variableb48d2ae0]](signature.toCharArray())); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b48d2ae0]] | getUpperBound |
1 | 2 | [[#b48d2ae0]] | getLowerBound |