Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 8 | 3 | 0.958 | interface_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 81 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileConstants.java |
2 | 3 | 122 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeConstants.java |
3 | 3 | 127 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeConstants.java |
4 | 11 | 60 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IAccessRule.java |
5 | 3 | 22 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/util/IOpcodeMnemonics.java |
6 | 11 | 38 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java |
7 | 19 | 107 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java |
8 | 12 | 179 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java |
| ||||
int MINOR_VERSION_0 = 0; int MINOR_VERSION_1 = 1; int MINOR_VERSION_2 = 2; |
| ||||
// Constraints for generic type argument inference int CONSTRAINT_EQUAL = 0; // Actual = Formal int CONSTRAINT_EXTENDS = 1; // Actual << Formal int CONSTRAINT_SUPER = 2; // Actual >> Formal |
| ||||
// Constants used to perform bound checks int OK = 0; int UNCHECKED = 1; int MISMATCH = 2; |
| ||||
/** * Constant indicating that files matching the rule's pattern are accessible. */ int K_ACCESSIBLE = 0; /** * Constant indicating that files matching the rule's pattern are non accessible. */ int K_NON_ACCESSIBLE = 1; /** * Constant indicating that access to the files matching the rule's pattern is discouraged. */ int K_DISCOURAGED = 2; |
| ||||
int NOP = 0x00; int ACONST_NULL = 0x01; int ICONST_M1 = 0x02; |
| ||||
/* Nature of searched element */ /** * The searched element is a type, which may include classes, interfaces, * enums, and annotation types. */ int TYPE = 0; /** * The searched element is a method. */ int METHOD = 1; /** * The searched element is a package. */ int PACKAGE = 2; |
| ||||
/* Nature of match */ /** * The search result is a declaration. * Can be used in conjunction with any of the nature of searched elements * so as to better narrow down the search. */ int DECLARATIONS = 0; /** * The search result is a type that implements an interface or extends a class. * Used in conjunction with either TYPE or CLASS or INTERFACE, it will * respectively search for any type implementing/extending a type, * or rather exclusively search for classes implementing/extending the type, or * interfaces extending the type. */ int IMPLEMENTORS = 1; /** * The search result is a reference. * Can be used in conjunction with any of the nature of searched elements * so as to better narrow down the search. * References can contain implementers since they are more generic kind * of matches. */ int REFERENCES = 2; |
| ||||
/* Syntactic match modes */ /** * The search pattern matches exactly the search result, * that is, the source of the search result equals the search pattern. * @deprecated Use {@link SearchPattern#R_EXACT_MATCH} instead. */ int EXACT_MATCH = 0; /** * The search pattern is a prefix of the search result. * @deprecated Use {@link SearchPattern#R_PREFIX_MATCH} instead. */ int PREFIX_MATCH = 1; /** * The search pattern contains one or more wild cards ('*') where a * wild-card can replace 0 or more characters in the search result. * @deprecated Use {@link SearchPattern#R_PATTERN_MATCH} instead. */ int PATTERN_MATCH = 2; |
| |||
/* Syntactic match modes */ /** * The search pattern matches exactly the search result, * that is, the source of the search result equals the search pattern. * @deprecated Use {@link SearchPattern#R_EXACT_MATCH} instead. */ /* Nature of searched element */ /** * The searched element is a type, which may include classes, interfaces, * enums, and annotation types. */ // Constants used to perform bound checks // Constraints for generic type argument inference /** * Constant indicating that files matching the rule's pattern are accessible. */ /* Nature of match */ /** * The search result is a declaration. * Can be used in conjunction with any of the nature of searched elements * so as to better narrow down the search. */ int [[#variableb51fb320]]= 0; // Actual = Formal /** * The search pattern is a prefix of the search result. * @deprecated Use {@link SearchPattern#R_PREFIX_MATCH} instead. */ /** * The searched element is a method. */ /** * Constant indicating that files matching the rule's pattern are non accessible. */ /** * The search result is a type that implements an interface or extends a class. * Used in conjunction with either TYPE or CLASS or INTERFACE, it will * respectively search for any type implementing/extending a type, * or rather exclusively search for classes implementing/extending the type, or * interfaces extending the type. */ int [[#variableb51fb2e0]]= 1; // Actual << Formal /** * The search pattern contains one or more wild cards ('*') where a * wild-card can replace 0 or more characters in the search result. * @deprecated Use {@link SearchPattern#R_PATTERN_MATCH} instead. */ /** * The searched element is a package. */ /** * Constant indicating that access to the files matching the rule's pattern is discouraged. */ /** * The search result is a reference. * Can be used in conjunction with any of the nature of searched elements * so as to better narrow down the search. * References can contain implementers since they are more generic kind * of matches. */ int [[#variableb51fb260]]= 2; // Actual >> Formal |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b51fb320]] | EXACT_MATCH |
1 | 2 | [[#b51fb320]] | MINOR_VERSION_0 |
1 | 3 | [[#b51fb320]] | TYPE |
1 | 4 | [[#b51fb320]] | OK |
1 | 5 | [[#b51fb320]] | CONSTRAINT_EQUAL |
1 | 6 | [[#b51fb320]] | K_ACCESSIBLE |
1 | 7 | [[#b51fb320]] | NOP |
1 | 8 | [[#b51fb320]] | DECLARATIONS |
2 | 1 | [[#b51fb2e0]] | PREFIX_MATCH |
2 | 2 | [[#b51fb2e0]] | MINOR_VERSION_1 |
2 | 3 | [[#b51fb2e0]] | METHOD |
2 | 4 | [[#b51fb2e0]] | UNCHECKED |
2 | 5 | [[#b51fb2e0]] | CONSTRAINT_EXTENDS |
2 | 6 | [[#b51fb2e0]] | K_NON_ACCESSIBLE |
2 | 7 | [[#b51fb2e0]] | ACONST_NULL |
2 | 8 | [[#b51fb2e0]] | IMPLEMENTORS |
3 | 1 | [[#b51fb260]] | PATTERN_MATCH |
3 | 2 | [[#b51fb260]] | MINOR_VERSION_2 |
3 | 3 | [[#b51fb260]] | PACKAGE |
3 | 4 | [[#b51fb260]] | MISMATCH |
3 | 5 | [[#b51fb260]] | CONSTRAINT_SUPER |
3 | 6 | [[#b51fb260]] | K_DISCOURAGED |
3 | 7 | [[#b51fb260]] | ICONST_M1 |
3 | 8 | [[#b51fb260]] | REFERENCES |