| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 13 | 1 | 0.989 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 115 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeDeclaration.java |
| 2 | 10 | 131 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java |
| 3 | 10 | 105 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java |
| 4 | 10 | 137 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java |
| 5 | 10 | 142 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumDeclaration.java |
| 6 | 10 | 72 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MarkerAnnotation.java |
| 7 | 10 | 94 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java |
| 8 | 10 | 86 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NormalAnnotation.java |
| 9 | 10 | 100 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ParameterizedType.java |
| 10 | 10 | 113 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedType.java |
| 11 | 10 | 87 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleMemberAnnotation.java |
| 12 | 10 | 92 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeParameter.java |
| 13 | 10 | 96 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java |
| ||||
/**
* Creates a new AST node for an annotation type declaration owned by the given
* AST. By default, the type declaration is for an annotation
* type of an unspecified, but legal, name; no modifiers; no javadoc;
* and an empty list of body declarations.
* <p>
* N.B. This constructor is package-private; all subclasses must be
* declared in the same package; clients are unable to declare
* additional subclasses.
* </p>
*
* @param ast the AST that is to own this node
*/
AnnotationTypeDeclaration(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new AST node for an annotation type member declaration owned
* by the given AST. By default, the declaration is for a member of an
* unspecified, but legal, name; no modifiers; no javadoc;
* an unspecified value type; and no default value.
* <p>
* N.B. This constructor is package-private; all subclasses must be
* declared in the same package; clients are unable to declare
* additional subclasses.
* </p>
*
* @param ast the AST that is to own this node
*/
AnnotationTypeMemberDeclaration(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new AST node for an enchanced for statement owned by the
* given AST. By default, the parameter and expression are unspecified
* but legal subtrees, and the body is an empty block.
*
* @param ast the AST that is to own this node
*/
EnhancedForStatement(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new AST node for an enumeration constants declaration owned by
* the given AST. By default, the enumeration constant has an unspecified,
* but legal, name; no javadoc; an empty list of modifiers and annotations;
* an empty list of arguments; and does not declare an anonymous class.
* <p>
* N.B. This constructor is package-private; all subclasses must be
* declared in the same package; clients are unable to declare
* additional subclasses.
* </p>
*
* @param ast the AST that is to own this node
*/
EnumConstantDeclaration(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new AST node for an enum declaration owned by the given
* AST. By default, the enum declaration has an unspecified, but legal,
* name; no modifiers; no javadoc; no superinterfaces;
* and empty lists of enum constants and body declarations.
* <p>
* N.B. This constructor is package-private; all subclasses must be
* declared in the same package; clients are unable to declare
* additional subclasses.
* </p>
*
* @param ast the AST that is to own this node
*/
EnumDeclaration(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented marker annotation node owned
* by the given AST. By default, the annotation has an
* unspecified type name .
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
MarkerAnnotation(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new AST node for a member value pair owned by the given
* AST. By default, the node has an unspecified (but legal) member
* name and value.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
MemberValuePair(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented normal annotation node owned
* by the given AST. By default, the annotation has an
* unspecified type name and an empty list of member value
* pairs.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
NormalAnnotation(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented node for a parameterized type owned by the
* given AST. By default, an unspecified, but legal, type, and no type
* arguments.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
ParameterizedType(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented node for a qualified type owned by the
* given AST. By default, an unspecified, but legal, qualifier and name.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
QualifiedType(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented normal annotation node owned
* by the given AST. By default, the annotation has an
* unspecified type name and an unspecified value.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
SingleMemberAnnotation(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented node for a parameterized type owned by the
* given AST. By default, an unspecified, but legal, type variable name,
* and no type bounds.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
TypeParameter(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| ||||
/**
* Creates a new unparented node for a wildcard type owned by the
* given AST. By default, no upper bound.
* <p>
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
WildcardType(AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| |||
[[#variable585ec240]](AST ast) {
super(ast);
unsupportedIn2();
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return propertyDescriptors(apiLevel);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#585ec240]] | /** * Creates a new AST node for an annotation type declaration owned by the given * AST. By default, the type declaration is for an annotation * type of an unspecified, but legal, name; no modifiers; no javadoc; * and an empty list of body declarations. * <p> * N.B. This constructor is package-private; all subclasses must be * declared in the same package; clients are unable to declare * additional subclasses. * </p> * * @param ast the AST that is to own this node */ AnnotationTypeDeclaration |
| 1 | 2 | [[#585ec240]] | /** * Creates a new AST node for an annotation type member declaration owned * by the given AST. By default, the declaration is for a member of an * unspecified, but legal, name; no modifiers; no javadoc; * an unspecified value type; and no default value. * <p> * N.B. This constructor is package-private; all subclasses must be * declared in the same package; clients are unable to declare * additional subclasses. * </p> * * @param ast the AST that is to own this node */ AnnotationTypeMemberDeclaration |
| 1 | 3 | [[#585ec240]] | /** * Creates a new AST node for an enchanced for statement owned by the * given AST. By default, the parameter and expression are unspecified * but legal subtrees, and the body is an empty block. * * @param ast the AST that is to own this node */ EnhancedForStatement |
| 1 | 4 | [[#585ec240]] | /** * Creates a new AST node for an enumeration constants declaration owned by * the given AST. By default, the enumeration constant has an unspecified, * but legal, name; no javadoc; an empty list of modifiers and annotations; * an empty list of arguments; and does not declare an anonymous class. * <p> * N.B. This constructor is package-private; all subclasses must be * declared in the same package; clients are unable to declare * additional subclasses. * </p> * * @param ast the AST that is to own this node */ EnumConstantDeclaration |
| 1 | 5 | [[#585ec240]] | /** * Creates a new AST node for an enum declaration owned by the given * AST. By default, the enum declaration has an unspecified, but legal, * name; no modifiers; no javadoc; no superinterfaces; * and empty lists of enum constants and body declarations. * <p> * N.B. This constructor is package-private; all subclasses must be * declared in the same package; clients are unable to declare * additional subclasses. * </p> * * @param ast the AST that is to own this node */ EnumDeclaration |
| 1 | 6 | [[#585ec240]] | /** * Creates a new unparented marker annotation node owned * by the given AST. By default, the annotation has an * unspecified type name . * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ MarkerAnnotation |
| 1 | 7 | [[#585ec240]] | /** * Creates a new AST node for a member value pair owned by the given * AST. By default, the node has an unspecified (but legal) member * name and value. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ MemberValuePair |
| 1 | 8 | [[#585ec240]] | /** * Creates a new unparented normal annotation node owned * by the given AST. By default, the annotation has an * unspecified type name and an empty list of member value * pairs. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ NormalAnnotation |
| 1 | 9 | [[#585ec240]] | /** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type, and no type * arguments. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ ParameterizedType |
| 1 | 10 | [[#585ec240]] | /** * Creates a new unparented node for a qualified type owned by the * given AST. By default, an unspecified, but legal, qualifier and name. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ QualifiedType |
| 1 | 11 | [[#585ec240]] | /** * Creates a new unparented normal annotation node owned * by the given AST. By default, the annotation has an * unspecified type name and an unspecified value. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ SingleMemberAnnotation |
| 1 | 12 | [[#585ec240]] | /** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter |
| 1 | 13 | [[#585ec240]] | /** * Creates a new unparented node for a wildcard type owned by the * given AST. By default, no upper bound. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ WildcardType |