| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 19 | 5 | 0.952 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 151 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayType.java |
| 2 | 12 | 174 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CatchClause.java |
| 3 | 12 | 214 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CatchClause.java |
| 4 | 12 | 214 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DoStatement.java |
| 5 | 12 | 276 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java |
| 6 | 12 | 153 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ExpressionStatement.java |
| 7 | 12 | 299 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ForStatement.java |
| 8 | 12 | 240 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IfStatement.java |
| 9 | 12 | 259 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Initializer.java |
| 10 | 12 | 210 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InstanceofExpression.java |
| 11 | 12 | 215 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java |
| 12 | 12 | 174 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java |
| 13 | 12 | 184 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ParameterizedType.java |
| 14 | 12 | 193 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedType.java |
| 15 | 12 | 207 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java |
| 16 | 12 | 214 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SynchronizedStatement.java |
| 17 | 12 | 206 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TryStatement.java |
| 18 | 12 | 176 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeParameter.java |
| 19 | 12 | 215 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WhileStatement.java |
| ||||
/**
* Returns the component type of this array type. The component type
* may be another array type.
*
* @return the component type node
*/
public Type getComponentType() {
if (this.componentType == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.componentType == null) {
preLazyInit();
this.componentType = new SimpleType(this.ast);
postLazyInit(this.componentType, COMPONENT_TYPE_PROPERTY);
}
}
}
return this.componentType;
}
|
| ||||
/**
* Returns the exception variable declaration of this catch clause.
*
* @return the exception variable declaration node
*/
public SingleVariableDeclaration getException() {
if (this.exceptionDecl == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.exceptionDecl == null) {
preLazyInit();
this.exceptionDecl = new SingleVariableDeclaration(this.ast);
postLazyInit(this.exceptionDecl, EXCEPTION_PROPERTY);
}
}
}
return this.exceptionDecl;
}
|
| ||||
/**
* Returns the body of this catch clause.
*
* @return the catch clause body
*/
public Block getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the body of this do statement.
*
* @return the body statement node
*/
public Statement getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the body of this enchanced for statement.
*
* @return the body statement node
*/
public Statement getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the expression of this expression statement.
*
* @return the expression node
*/
public Expression getExpression() {
if (this.expression == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.expression == null) {
preLazyInit();
this.expression = new MethodInvocation(this.ast);
postLazyInit(this.expression, EXPRESSION_PROPERTY);
}
}
}
return this.expression;
}
|
| ||||
/**
* Returns the body of this for statement.
*
* @return the body statement node
*/
public Statement getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the "then" part of this if statement.
*
* @return the "then" statement node
*/
public Statement getThenStatement() {
if (this.thenStatement == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.thenStatement == null) {
preLazyInit();
this.thenStatement = new Block(this.ast);
postLazyInit(this.thenStatement, THEN_STATEMENT_PROPERTY);
}
}
}
return this.thenStatement;
}
|
| ||||
/**
* Returns the body of this initializer declaration.
*
* @return the initializer body
*/
public Block getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the right operand of this instanceof expression.
*
* @return the right operand node
*/
public Type getRightOperand() {
if (this.rightOperand == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.rightOperand == null) {
preLazyInit();
this.rightOperand = new SimpleType(this.ast);
postLazyInit(this.rightOperand, RIGHT_OPERAND_PROPERTY);
}
}
}
return this.rightOperand;
}
|
| ||||
/**
* Returns the body of this labeled statement.
*
* @return the body statement node
*/
public Statement getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new EmptyStatement(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the member name.
*
* @return the member name node
*/
public SimpleName getName() {
if (this.name == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.name == null) {
preLazyInit();
this.name = new SimpleName(this.ast);
postLazyInit(this.name, NAME_PROPERTY);
}
}
}
return this.name;
}
|
| ||||
/**
* Returns the type of this parameterized type.
*
* @return the type of this parameterized type
*/
public Type getType() {
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.type == null) {
preLazyInit();
this.type = new SimpleType(this.ast);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;
}
|
| ||||
/**
* Returns the qualifier of this qualified type.
*
* @return the qualifier of this qualified type
*/
public Type getQualifier() {
if (this.qualifier == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.qualifier == null) {
preLazyInit();
this.qualifier = new SimpleType(this.ast);
postLazyInit(this.qualifier, QUALIFIER_PROPERTY);
}
}
}
return this.qualifier;
}
|
| ||||
/**
* Returns the name of the field accessed in this "super" field access
* expression.
*
* @return the field name
*/
public SimpleName getName() {
if (this.fieldName == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.fieldName == null) {
preLazyInit();
this.fieldName = new SimpleName(this.ast);
postLazyInit(this.fieldName, NAME_PROPERTY);
}
}
}
return this.fieldName;
}
|
| ||||
/**
* Returns the body of this synchronized statement.
*
* @return the body block node
*/
public Block getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the body of this try statement.
*
* @return the try body
*/
public Block getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| ||||
/**
* Returns the name of the type variable declared in this type parameter.
*
* @return the name of the type variable
*/
public SimpleName getName() {
if (this.typeVariableName == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.typeVariableName == null) {
preLazyInit();
this.typeVariableName = new SimpleName(this.ast);
postLazyInit(this.typeVariableName, NAME_PROPERTY);
}
}
}
return this.typeVariableName;
}
|
| ||||
/**
* Returns the body of this while statement.
*
* @return the body statement node
*/
public Statement getBody() {
if (this.body == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.body == null) {
preLazyInit();
this.body = new Block(this.ast);
postLazyInit(this.body, BODY_PROPERTY);
}
}
}
return this.body;
}
|
| |||
/**
* Returns the type of this parameterized type.
*
* @return the type of this parameterized type
*/
/**
* Returns the name of the type variable declared in this type parameter.
*
* @return the name of the type variable
*/
/**
* Returns the qualifier of this qualified type.
*
* @return the qualifier of this qualified type
*/
/**
* Returns the body of this for statement.
*
* @return the body statement node
*/
/**
* Returns the body of this labeled statement.
*
* @return the body statement node
*/
/**
* Returns the name of the field accessed in this "super" field access
* expression.
*
* @return the field name
*/
/**
* Returns the right operand of this instanceof expression.
*
* @return the right operand node
*/
/**
* Returns the member name.
*
* @return the member name node
*/
/**
* Returns the "then" part of this if statement.
*
* @return the "then" statement node
*/
/**
* Returns the expression of this expression statement.
*
* @return the expression node
*/
/**
* Returns the body of this synchronized statement.
*
* @return the body block node
*/
/**
* Returns the exception variable declaration of this catch clause.
*
* @return the exception variable declaration node
*/
/**
* Returns the component type of this array type. The component type
* may be another array type.
*
* @return the component type node
*/
/**
* Returns the body of this do statement.
*
* @return the body statement node
*/
/**
* Returns the body of this try statement.
*
* @return the try body
*/
/**
* Returns the body of this while statement.
*
* @return the body statement node
*/
/**
* Returns the body of this catch clause.
*
* @return the catch clause body
*/
/**
* Returns the body of this initializer declaration.
*
* @return the initializer body
*/
/**
* Returns the body of this enchanced for statement.
*
* @return the body statement node
*/
public [[#variable58bc5c60]] [[#variable58bc5bc0]]() {
if (this. [[#variable58bc5b40]]== null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this. [[#variable58bc5b40]]== null) {
preLazyInit();
this. [[#variable58bc5b40]]= new [[#variable58bc5a80]](this.ast);
postLazyInit(this. [[#variable58bc5b40]], [[#variable58bc5b80]]);
}
}
}
return this. [[#variable58bc5b40]];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#58bc5c60]] | Type |
| 1 | 2 | [[#58bc5c60]] | SimpleName |
| 1 | 3 | [[#58bc5c60]] | Type |
| 1 | 4 | [[#58bc5c60]] | Statement |
| 1 | 5 | [[#58bc5c60]] | Statement |
| 1 | 6 | [[#58bc5c60]] | SimpleName |
| 1 | 7 | [[#58bc5c60]] | Type |
| 1 | 8 | [[#58bc5c60]] | SimpleName |
| 1 | 9 | [[#58bc5c60]] | Statement |
| 1 | 10 | [[#58bc5c60]] | Expression |
| 1 | 11 | [[#58bc5c60]] | Block |
| 1 | 12 | [[#58bc5c60]] | SingleVariableDeclaration |
| 1 | 13 | [[#58bc5c60]] | Type |
| 1 | 14 | [[#58bc5c60]] | Statement |
| 1 | 15 | [[#58bc5c60]] | Block |
| 1 | 16 | [[#58bc5c60]] | Statement |
| 1 | 17 | [[#58bc5c60]] | Block |
| 1 | 18 | [[#58bc5c60]] | Block |
| 1 | 19 | [[#58bc5c60]] | Statement |
| 2 | 1 | [[#58bc5bc0]] | getType |
| 2 | 2 | [[#58bc5bc0]] | getName |
| 2 | 3 | [[#58bc5bc0]] | getQualifier |
| 2 | 4 | [[#58bc5bc0]] | getBody |
| 2 | 5 | [[#58bc5bc0]] | getBody |
| 2 | 6 | [[#58bc5bc0]] | getName |
| 2 | 7 | [[#58bc5bc0]] | getRightOperand |
| 2 | 8 | [[#58bc5bc0]] | getName |
| 2 | 9 | [[#58bc5bc0]] | getThenStatement |
| 2 | 10 | [[#58bc5bc0]] | getExpression |
| 2 | 11 | [[#58bc5bc0]] | getBody |
| 2 | 12 | [[#58bc5bc0]] | getException |
| 2 | 13 | [[#58bc5bc0]] | getComponentType |
| 2 | 14 | [[#58bc5bc0]] | getBody |
| 2 | 15 | [[#58bc5bc0]] | getBody |
| 2 | 16 | [[#58bc5bc0]] | getBody |
| 2 | 17 | [[#58bc5bc0]] | getBody |
| 2 | 18 | [[#58bc5bc0]] | getBody |
| 2 | 19 | [[#58bc5bc0]] | getBody |
| 3 | 1 | [[#58bc5b40]] | type |
| 3 | 2 | [[#58bc5b40]] | typeVariableName |
| 3 | 3 | [[#58bc5b40]] | qualifier |
| 3 | 4 | [[#58bc5b40]] | body |
| 3 | 5 | [[#58bc5b40]] | body |
| 3 | 6 | [[#58bc5b40]] | fieldName |
| 3 | 7 | [[#58bc5b40]] | rightOperand |
| 3 | 8 | [[#58bc5b40]] | name |
| 3 | 9 | [[#58bc5b40]] | thenStatement |
| 3 | 10 | [[#58bc5b40]] | expression |
| 3 | 11 | [[#58bc5b40]] | body |
| 3 | 12 | [[#58bc5b40]] | exceptionDecl |
| 3 | 13 | [[#58bc5b40]] | componentType |
| 3 | 14 | [[#58bc5b40]] | body |
| 3 | 15 | [[#58bc5b40]] | body |
| 3 | 16 | [[#58bc5b40]] | body |
| 3 | 17 | [[#58bc5b40]] | body |
| 3 | 18 | [[#58bc5b40]] | body |
| 3 | 19 | [[#58bc5b40]] | body |
| 4 | 1 | [[#58bc5a80]] | SimpleType |
| 4 | 2 | [[#58bc5a80]] | SimpleName |
| 4 | 3 | [[#58bc5a80]] | SimpleType |
| 4 | 4 | [[#58bc5a80]] | Block |
| 4 | 5 | [[#58bc5a80]] | EmptyStatement |
| 4 | 6 | [[#58bc5a80]] | SimpleName |
| 4 | 7 | [[#58bc5a80]] | SimpleType |
| 4 | 8 | [[#58bc5a80]] | SimpleName |
| 4 | 9 | [[#58bc5a80]] | Block |
| 4 | 10 | [[#58bc5a80]] | MethodInvocation |
| 4 | 11 | [[#58bc5a80]] | Block |
| 4 | 12 | [[#58bc5a80]] | SingleVariableDeclaration |
| 4 | 13 | [[#58bc5a80]] | SimpleType |
| 4 | 14 | [[#58bc5a80]] | Block |
| 4 | 15 | [[#58bc5a80]] | Block |
| 4 | 16 | [[#58bc5a80]] | Block |
| 4 | 17 | [[#58bc5a80]] | Block |
| 4 | 18 | [[#58bc5a80]] | Block |
| 4 | 19 | [[#58bc5a80]] | Block |
| 5 | 1 | [[#58bc5b80]] | TYPE_PROPERTY |
| 5 | 2 | [[#58bc5b80]] | NAME_PROPERTY |
| 5 | 3 | [[#58bc5b80]] | QUALIFIER_PROPERTY |
| 5 | 4 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 5 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 6 | [[#58bc5b80]] | NAME_PROPERTY |
| 5 | 7 | [[#58bc5b80]] | RIGHT_OPERAND_PROPERTY |
| 5 | 8 | [[#58bc5b80]] | NAME_PROPERTY |
| 5 | 9 | [[#58bc5b80]] | THEN_STATEMENT_PROPERTY |
| 5 | 10 | [[#58bc5b80]] | EXPRESSION_PROPERTY |
| 5 | 11 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 12 | [[#58bc5b80]] | EXCEPTION_PROPERTY |
| 5 | 13 | [[#58bc5b80]] | COMPONENT_TYPE_PROPERTY |
| 5 | 14 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 15 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 16 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 17 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 18 | [[#58bc5b80]] | BODY_PROPERTY |
| 5 | 19 | [[#58bc5b80]] | BODY_PROPERTY |