Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.983 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 204 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/BindingKey.java |
2 | 4 | 215 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/BindingKey.java |
3 | 4 | 226 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/BindingKey.java |
| ||||
/** * Returns whether this binding key represents a raw type. * * @return whether this binding key represents a raw type */ public boolean isRawType() { KeyKind kind = new KeyKind(this.key); kind.parse(); return (kind.flags& KeyKind.F_RAW_TYPE) != 0; } |
| ||||
/** * Returns whether this binding key represents a parameterized type, or if its declaring type is a parameterized type. * * @return whether this binding key represents a parameterized type */ public boolean isParameterizedType() { KeyKind kind = new KeyKind(this.key); kind.parse(); return (kind.flags& KeyKind.F_PARAMETERIZED_TYPE) != 0; } |
| ||||
/** * Returns whether this binding key represents a parameterized method, or if its declaring method is a parameterized method. * * @return whether this binding key represents a parameterized method */ public boolean isParameterizedMethod() { KeyKind kind = new KeyKind(this.key); kind.parse(); return (kind.flags& KeyKind.F_PARAMETERIZED_METHOD) != 0; } |
| |||
/** * Returns whether this binding key represents a raw type. * * @return whether this binding key represents a raw type */ /** * Returns whether this binding key represents a parameterized type, or if its declaring type is a parameterized type. * * @return whether this binding key represents a parameterized type */ /** * Returns whether this binding key represents a parameterized method, or if its declaring method is a parameterized method. * * @return whether this binding key represents a parameterized method */ public boolean [[#variable608cfe80]]() { KeyKind kind = new KeyKind(this.key); kind.parse(); return (kind.flags&KeyKind. [[#variable5f09d200]]) != 0; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#608cfe80]] | isRawType |
1 | 2 | [[#608cfe80]] | isParameterizedType |
1 | 3 | [[#608cfe80]] | isParameterizedMethod |
2 | 1 | [[#5f09d200]] | F_RAW_TYPE |
2 | 2 | [[#5f09d200]] | F_PARAMETERIZED_TYPE |
2 | 3 | [[#5f09d200]] | F_PARAMETERIZED_METHOD |