Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 4 | 6 | 0.963 | class_body_declarations[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 27 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java |
2 | 36 | 238 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java |
3 | 153 | 382 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java |
4 | 11 | 156 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.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; |
| ||||
/** * 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; |
| ||||
/** * 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 {@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 {@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 {@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 {@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; |
| ||||
/** 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; |
| |||
/** 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 {@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 {@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 {@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 {@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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#93ad3be0]] | OUTPUT |
1 | 2 | [[#93ad3be0]] | ErrInterfaceCannotBeFinal |
1 | 3 | [[#93ad3be0]] | CATCH_CLAUSE |
1 | 4 | [[#93ad3be0]] | METHOD_NAME_REFERENCE |
2 | 1 | [[#93ad3ae0]] | ARCHIVE |
2 | 2 | [[#93ad3ae0]] | ErrInterfaceMustBeAbstract |
2 | 3 | [[#93ad3ae0]] | CHARACTER_LITERAL |
2 | 4 | [[#93ad3ae0]] | ANNOTATION_ATTRIBUTE_REF |
3 | 1 | [[#93ad3a20]] | MODIFIED_FRAGMENT_ROOT |
3 | 2 | [[#93ad3a20]] | ErrBadModifiers |
3 | 3 | [[#93ad3a20]] | CLASS_INSTANCE_CREATION |
3 | 4 | [[#93ad3a20]] | JAVADOC_FIELD_REF |
4 | 1 | [[#93ad39c0]] | DEFAULT_FRAGMENT |
4 | 2 | [[#93ad39c0]] | ErrClassCannotBeAbstractFinal |
4 | 3 | [[#93ad39c0]] | COMPILATION_UNIT |
4 | 4 | [[#93ad39c0]] | JAVADOC_METHOD_REF |
5 | 1 | [[#652b7c60]] | UNDEFINED |
5 | 2 | [[#652b7c60]] | ErrBadClassname |
5 | 3 | [[#652b7c60]] | CONDITIONAL_EXPRESSION |
5 | 4 | [[#652b7c60]] | JAVADOC_TYPE_REF |
6 | 1 | [[#93ad3a40]] | MULTI |
6 | 2 | [[#93ad3a40]] | ErrBadFieldInfo |
6 | 3 | [[#93ad3a40]] | CONSTRUCTOR_INVOCATION |
6 | 4 | [[#93ad3a40]] | JAVADOC_VALUE_REF |