CloneSet1898


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12830.958interface_member_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1381
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileConstants.java
23122
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeConstants.java
33127
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeConstants.java
41160
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IAccessRule.java
5322
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/util/IOpcodeMnemonics.java
61138
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java
719107
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java
812179
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java
Clone Instance
1
Line Count
3
Source Line
81
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileConstants.java

        int MINOR_VERSION_0 = 0;
        int MINOR_VERSION_1 = 1;
        int MINOR_VERSION_2 = 2;


Clone Instance
2
Line Count
3
Source Line
122
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeConstants.java

        // Constraints for generic type argument inference
    int CONSTRAINT_EQUAL = 0;           // Actual = Formal
    int CONSTRAINT_EXTENDS = 1; // Actual << Formal
    int CONSTRAINT_SUPER = 2;           // Actual >> Formal


Clone Instance
3
Line Count
3
Source Line
127
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeConstants.java

        // Constants used to perform bound checks
        int OK = 0;
        int UNCHECKED = 1;
        int MISMATCH = 2;


Clone Instance
4
Line Count
11
Source Line
60
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IAccessRule.java

        /**
         * 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;


Clone Instance
5
Line Count
3
Source Line
22
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/util/IOpcodeMnemonics.java

        int NOP = 0x00;
        int ACONST_NULL = 0x01;
        int ICONST_M1 = 0x02;


Clone Instance
6
Line Count
11
Source Line
38
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java

        /* 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;


Clone Instance
7
Line Count
19
Source Line
107
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java

        /* 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;


Clone Instance
8
Line Count
12
Source Line
179
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchConstants.java

        /* 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;


Clone AbstractionParameter Count: 3Parameter Bindings

/* 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b51fb320]]
EXACT_MATCH 
12[[#b51fb320]]
MINOR_VERSION_0 
13[[#b51fb320]]
TYPE 
14[[#b51fb320]]
OK 
15[[#b51fb320]]
CONSTRAINT_EQUAL 
16[[#b51fb320]]
K_ACCESSIBLE 
17[[#b51fb320]]
NOP 
18[[#b51fb320]]
DECLARATIONS 
21[[#b51fb2e0]]
PREFIX_MATCH 
22[[#b51fb2e0]]
MINOR_VERSION_1 
23[[#b51fb2e0]]
METHOD 
24[[#b51fb2e0]]
UNCHECKED 
25[[#b51fb2e0]]
CONSTRAINT_EXTENDS 
26[[#b51fb2e0]]
K_NON_ACCESSIBLE 
27[[#b51fb2e0]]
ACONST_NULL 
28[[#b51fb2e0]]
IMPLEMENTORS 
31[[#b51fb260]]
PATTERN_MATCH 
32[[#b51fb260]]
MINOR_VERSION_2 
33[[#b51fb260]]
PACKAGE 
34[[#b51fb260]]
MISMATCH 
35[[#b51fb260]]
CONSTRAINT_SUPER 
36[[#b51fb260]]
K_DISCOURAGED 
37[[#b51fb260]]
ICONST_M1 
38[[#b51fb260]]
REFERENCES