CloneSet1596


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11460.963class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1627
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java
236238
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java
3153382
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java
411156
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
Clone Instance
1
Line Count
6
Source Line
27
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java

        public static final int ErrInterfaceCannotBeFinal = 12;

        public static final int ErrInterfaceMustBeAbstract = 13;

        public static final int ErrBadModifiers = 14;

        public static final int ErrClassCannotBeAbstractFinal = 15;

        public static final int ErrBadClassname = 16;

        public static final int ErrBadFieldInfo = 17;


Clone Instance
2
Line Count
36
Source Line
238
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

        /**
         * Node type constant indicating a node of type 
         * <code>CatchClause</code>.
         * @see CatchClause
         */
        public static final int CATCH_CLAUSE = 12;

        /**
         * Node type constant indicating a node of type 
         * <code>CharacterLiteral</code>.
         * @see CharacterLiteral
         */
        public static final int CHARACTER_LITERAL = 13;

        /**
         * Node type constant indicating a node of type 
         * <code>ClassInstanceCreation</code>.
         * @see ClassInstanceCreation
         */
        public static final int CLASS_INSTANCE_CREATION = 14;

        /**
         * Node type constant indicating a node of type 
         * <code>CompilationUnit</code>.
         * @see CompilationUnit
         */
        public static final int COMPILATION_UNIT = 15;

        /**
         * Node type constant indicating a node of type 
         * <code>ConditionalExpression</code>.
         * @see ConditionalExpression
         */
        public static final int CONDITIONAL_EXPRESSION = 16;

        /**
         * Node type constant indicating a node of type 
         * <code>ConstructorInvocation</code>.
         * @see ConstructorInvocation
         */
        public static final int CONSTRUCTOR_INVOCATION = 17;


Clone Instance
3
Line Count
153
Source Line
382
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java

        /**
         * Completion is a reference to a method name.
         * This kind of completion might occur in a context like
         * <code>"import p.X.fo^"</code> and complete it to
         * <code>"import p.X.foo;"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the method that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags of the method that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the method that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the method signature of the method that is referenced
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
     * @since 3.1
         */
        public static final int METHOD_NAME_REFERENCE = 12;

        /**
         * Completion is a reference to annotation's attribute.
         * This kind of completion might occur in a context like
         * <code>"@Annot(attr^=value)"</code> and complete it to
         * <code>"@Annot(attribute^=value)"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the annotation that declares the attribute that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags of the attribute that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the attribute that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the attribute's type (as opposed to the
         * signature of the type in which the referenced attribute
         * is declared)
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.1
         */
        public static final int ANNOTATION_ATTRIBUTE_REF = 13;

        /**
         * Completion is a link reference to a field in a javadoc text.
         * This kind of completion might occur in a context like
         * <code>"      * blabla System.o^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;link System#out } blabla"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the field that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags (including ACC_ENUM) of the field that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the field that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the field's type (as opposed to the
         * signature of the type in which the referenced field
         * is declared)
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
        public static final int JAVADOC_FIELD_REF = 14;

        /**
         * Completion is a link reference to a method in a javadoc text.
         * This kind of completion might occur in a context like
         * <code>"      * blabla Runtime.get^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;link Runtime#getRuntime() }"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the method that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags of the method that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the method that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the method signature of the method that is referenced
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
        public static final int JAVADOC_METHOD_REF = 15;

        /**
         * Completion is a link reference to a type in a javadoc text.
         * Any kind of type is allowed, including primitive types, reference types,
         * array types, parameterized types, and type variables.
         * This kind of completion might occur in a context like
         * <code>"      * blabla Str^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;link String } blabla"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the dot-based package name of the package that contains
         * the type that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the type that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags (including Flags.AccInterface, AccEnum,
         * and AccAnnotation) of the type that is referenced
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
        public static final int JAVADOC_TYPE_REF = 16;

        /**
         * Completion is a value reference to a static field in a javadoc text.
         * This kind of completion might occur in a context like
         * <code>"      * blabla System.o^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;value System#out } blabla"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the field that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags (including ACC_ENUM) of the field that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the field that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the field's type (as opposed to the
         * signature of the type in which the referenced field
         * is declared)
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
        public static final int JAVADOC_VALUE_REF = 17;


Clone Instance
4
Line Count
11
Source Line
156
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

    /** Output folder (for a source folder) */
    public static final int OUTPUT = 0xc;

    /** An archive element (.zip or .jar) */
    public static final int ARCHIVE = 0xd;

    /** A IPackageFragmentRoot with include/exclude filters set */
    public static final int MODIFIED_FRAGMENT_ROOT = 0xe;

    /** Default package fragment */
    public static final int DEFAULT_FRAGMENT = 0xf;

    /** Undefined type */
    public static final int UNDEFINED = 0x10;

    /** Multi selection */
    public static final int MULTI = 0x11;


Clone AbstractionParameter Count: 6Parameter Bindings

/** Output folder (for a source folder) */
/**
         * Node type constant indicating a node of type 
         * <code>CatchClause</code>.
         * @see CatchClause
         */
/**
         * Completion is a reference to a method name.
         * This kind of completion might occur in a context like
         * <code>"import p.X.fo^"</code> and complete it to
         * <code>"import p.X.foo;"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the method that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags of the method that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the method that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the method signature of the method that is referenced
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
     * @since 3.1
         */
public static final int  [[#variable93ad3be0]]= 0xc;

/** An archive element (.zip or .jar) */
/**
         * Node type constant indicating a node of type 
         * <code>CharacterLiteral</code>.
         * @see CharacterLiteral
         */
/**
         * Completion is a reference to annotation's attribute.
         * This kind of completion might occur in a context like
         * <code>"@Annot(attr^=value)"</code> and complete it to
         * <code>"@Annot(attribute^=value)"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the annotation that declares the attribute that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags of the attribute that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the attribute that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the attribute's type (as opposed to the
         * signature of the type in which the referenced attribute
         * is declared)
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.1
         */
public static final int  [[#variable93ad3ae0]]= 0xd;

/** A IPackageFragmentRoot with include/exclude filters set */
/**
         * Node type constant indicating a node of type 
         * <code>ClassInstanceCreation</code>.
         * @see ClassInstanceCreation
         */
/**
         * Completion is a link reference to a field in a javadoc text.
         * This kind of completion might occur in a context like
         * <code>"      * blabla System.o^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;link System#out } blabla"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the field that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags (including ACC_ENUM) of the field that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the field that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the field's type (as opposed to the
         * signature of the type in which the referenced field
         * is declared)
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
public static final int  [[#variable93ad3a20]]= 0xe;

/** Default package fragment */
/**
         * Node type constant indicating a node of type 
         * <code>CompilationUnit</code>.
         * @see CompilationUnit
         */
/**
         * Completion is a link reference to a method in a javadoc text.
         * This kind of completion might occur in a context like
         * <code>"      * blabla Runtime.get^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;link Runtime#getRuntime() }"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the method that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags of the method that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the method that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the method signature of the method that is referenced
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
public static final int  [[#variable93ad39c0]]= 0xf;

/** Undefined type */
/**
         * Node type constant indicating a node of type 
         * <code>ConditionalExpression</code>.
         * @see ConditionalExpression
         */
/**
         * Completion is a link reference to a type in a javadoc text.
         * Any kind of type is allowed, including primitive types, reference types,
         * array types, parameterized types, and type variables.
         * This kind of completion might occur in a context like
         * <code>"      * blabla Str^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;link String } blabla"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the dot-based package name of the package that contains
         * the type that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the type that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags (including Flags.AccInterface, AccEnum,
         * and AccAnnotation) of the type that is referenced
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
public static final int  [[#variable652b7c60]]= 0x10;

/** Multi selection */
/**
         * Node type constant indicating a node of type 
         * <code>ConstructorInvocation</code>.
         * @see ConstructorInvocation
         */
/**
         * Completion is a value reference to a static field in a javadoc text.
         * This kind of completion might occur in a context like
         * <code>"      * blabla System.o^ blabla"</code> and complete it to
         * <code>"      * blabla {&#64;value System#out } blabla"</code>.
         * <p>
         * The following additional context information is available
         * for this kind of completion proposal at little extra cost:
         * <ul>
         * <li>{@link #getDeclarationSignature()} -
         * the type signature of the type that declares the field that is referenced
         * </li>
         * <li>{@link #getFlags()} -
         * the modifiers flags (including ACC_ENUM) of the field that is referenced
         * </li>
         * <li>{@link #getName()} -
         * the simple name of the field that is referenced
         * </li>
         * <li>{@link #getSignature()} -
         * the type signature of the field's type (as opposed to the
         * signature of the type in which the referenced field
         * is declared)
         * </li>
         * </ul>
         * </p>
         * 
         * @see #getKind()
         * @since 3.2
         */
public static final int  [[#variable93ad3a40]]= 0x11;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93ad3be0]]
OUTPUT 
12[[#93ad3be0]]
ErrInterfaceCannotBeFinal 
13[[#93ad3be0]]
CATCH_CLAUSE 
14[[#93ad3be0]]
METHOD_NAME_REFERENCE 
21[[#93ad3ae0]]
ARCHIVE 
22[[#93ad3ae0]]
ErrInterfaceMustBeAbstract 
23[[#93ad3ae0]]
CHARACTER_LITERAL 
24[[#93ad3ae0]]
ANNOTATION_ATTRIBUTE_REF 
31[[#93ad3a20]]
MODIFIED_FRAGMENT_ROOT 
32[[#93ad3a20]]
ErrBadModifiers 
33[[#93ad3a20]]
CLASS_INSTANCE_CREATION 
34[[#93ad3a20]]
JAVADOC_FIELD_REF 
41[[#93ad39c0]]
DEFAULT_FRAGMENT 
42[[#93ad39c0]]
ErrClassCannotBeAbstractFinal 
43[[#93ad39c0]]
COMPILATION_UNIT 
44[[#93ad39c0]]
JAVADOC_METHOD_REF 
51[[#652b7c60]]
UNDEFINED 
52[[#652b7c60]]
ErrBadClassname 
53[[#652b7c60]]
CONDITIONAL_EXPRESSION 
54[[#652b7c60]]
JAVADOC_TYPE_REF 
61[[#93ad3a40]]
MULTI 
62[[#93ad3a40]]
ErrBadFieldInfo 
63[[#93ad3a40]]
CONSTRUCTOR_INVOCATION 
64[[#93ad3a40]]
JAVADOC_VALUE_REF