Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 3 | 2 | 0.967 | switch_groups[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 25 | 2785 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 24 | 2843 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
3 | 24 | 2921 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| ||||
case ProblemReasons.Ambiguous: id = IProblem.AmbiguousField; break; case ProblemReasons.NonStaticReferenceInStaticContext: id = IProblem.NonStaticFieldFromStaticInvocation; break; case ProblemReasons.NonStaticReferenceInConstructorInvocation: id = IProblem.InstanceFieldDuringConstructorInvocation; break; case ProblemReasons.InheritedNameHidesEnclosingName: id = IProblem.InheritedFieldHidesEnclosingName; break; case ProblemReasons.ReceiverTypeNotVisible: this.handle( IProblem.NotVisibleType, // cannot occur in javadoc comments new String[] { new String(searchedType.leafComponentType().readableName()) }, new String[] { new String(searchedType.leafComponentType().shortReadableName()) }, fieldRef.receiver.sourceStart, fieldRef.receiver.sourceEnd); return; case ProblemReasons.NoError: // 0 default: needImplementation(); // want to fail to see why we were here... break; |
| ||||
case ProblemReasons.Ambiguous: id = IProblem.AmbiguousField; break; case ProblemReasons.NonStaticReferenceInStaticContext: id = IProblem.NonStaticFieldFromStaticInvocation; break; case ProblemReasons.NonStaticReferenceInConstructorInvocation: id = IProblem.InstanceFieldDuringConstructorInvocation; break; case ProblemReasons.InheritedNameHidesEnclosingName: id = IProblem.InheritedFieldHidesEnclosingName; break; case ProblemReasons.ReceiverTypeNotVisible: this.handle( IProblem.NotVisibleType, new String[] { new String(field.declaringClass.leafComponentType().readableName()) }, new String[] { new String(field.declaringClass.leafComponentType().shortReadableName()) }, nameRef.sourceStart, nameRef.sourceEnd); return; case ProblemReasons.NoError: // 0 default: needImplementation(); // want to fail to see why we were here... break; |
| ||||
case ProblemReasons.Ambiguous: id = IProblem.AmbiguousField; break; case ProblemReasons.NonStaticReferenceInStaticContext: id = IProblem.NonStaticFieldFromStaticInvocation; break; case ProblemReasons.NonStaticReferenceInConstructorInvocation: id = IProblem.InstanceFieldDuringConstructorInvocation; break; case ProblemReasons.InheritedNameHidesEnclosingName: id = IProblem.InheritedFieldHidesEnclosingName; break; case ProblemReasons.ReceiverTypeNotVisible: this.handle( IProblem.NotVisibleType, new String[] { new String(searchedType.leafComponentType().readableName()) }, new String[] { new String(searchedType.leafComponentType().shortReadableName()) }, nameRef.sourceStart, nameRef.sourceEnd); return; case ProblemReasons.NoError: // 0 default: needImplementation(); // want to fail to see why we were here... break; |
| |||
case ProblemReasons.Ambiguous: id = IProblem.AmbiguousField; break; case ProblemReasons.NonStaticReferenceInStaticContext: id = IProblem.NonStaticFieldFromStaticInvocation; break; case ProblemReasons.NonStaticReferenceInConstructorInvocation: id = IProblem.InstanceFieldDuringConstructorInvocation; break; case ProblemReasons.InheritedNameHidesEnclosingName: id = IProblem.InheritedFieldHidesEnclosingName; break; case ProblemReasons.ReceiverTypeNotVisible: this.handle(IProblem.NotVisibleType, // cannot occur in javadoc comments new String[] { new String( [[#variable57ad1ac0]].leafComponentType().readableName()) }, new String[] { new String( [[#variable57ad1ac0]].leafComponentType().shortReadableName()) }, [[#variable57ad1a60]].sourceStart, [[#variable57ad1a60]].sourceEnd); return; case ProblemReasons.NoError: // 0 default: needImplementation(); // want to fail to see why we were here... break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57ad1ac0]] | field.declaringClass |
1 | 2 | [[#57ad1ac0]] | searchedType |
1 | 3 | [[#57ad1ac0]] | searchedType |
2 | 1 | [[#57ad1a60]] | nameRef |
2 | 2 | [[#57ad1a60]] | fieldRef.receiver |
2 | 3 | [[#57ad1a60]] | nameRef |