| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 33 | 5 | 1 | 0.999 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 33 | 68 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocAllocationExpression.java |
| 2 | 33 | 108 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocFieldReference.java |
| 3 | 33 | 68 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocMessageSend.java |
| 4 | 33 | 64 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocQualifiedTypeReference.java |
| 5 | 33 | 61 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocSingleTypeReference.java |
| ||||
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.AllocationExpression#printExpression(int, java.lang.StringBuffer)
*/
public StringBuffer printExpression(int indent, StringBuffer output) {
output.append("<CompleteOnJavadocAllocationExpression:"); //$NON-NLS-1$
super.printExpression(indent, output);
indent++;
if (this.completionFlags > 0) {
output.append('\n');
for (int i = 0; i < indent; i++)
output.append('\t');
output.append("infos:"); //$NON-NLS-1$
char separator = 0;
if (completeAnException()) {
output.append("exception"); //$NON-NLS-1$
separator = ',';
}
if (completeInText()) {
if (separator != 0) output.append(separator);
output.append("text"); //$NON-NLS-1$
separator = ',';
}
if (completeBaseTypes()) {
if (separator != 0) output.append(separator);
output.append("base types"); //$NON-NLS-1$
separator = ',';
}
if (completeFormalReference()) {
if (separator != 0) output.append(separator);
output.append("formal reference"); //$NON-NLS-1$
separator = ',';
}
output.append('\n');
}
indent--;
for (int i = 0; i < indent; i++)
output.append('\t');
return output.append('>');
}
|
| ||||
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.JavadocFieldReference#printExpression(int, java.lang.StringBuffer)
*/
public StringBuffer printExpression(int indent, StringBuffer output) {
output.append("<CompleteOnJavadocFieldReference:"); //$NON-NLS-1$
super.printExpression(indent, output);
indent++;
if (this.completionFlags > 0) {
output.append('\n');
for (int i = 0; i < indent; i++)
output.append('\t');
output.append("infos:"); //$NON-NLS-1$
char separator = 0;
if (completeAnException()) {
output.append("exception"); //$NON-NLS-1$
separator = ',';
}
if (completeInText()) {
if (separator != 0) output.append(separator);
output.append("text"); //$NON-NLS-1$
separator = ',';
}
if (completeBaseTypes()) {
if (separator != 0) output.append(separator);
output.append("base types"); //$NON-NLS-1$
separator = ',';
}
if (completeFormalReference()) {
if (separator != 0) output.append(separator);
output.append("formal reference"); //$NON-NLS-1$
separator = ',';
}
output.append('\n');
}
indent--;
for (int i = 0; i < indent; i++)
output.append('\t');
return output.append('>');
}
|
| ||||
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.JavadocMessageSend#printExpression(int, java.lang.StringBuffer)
*/
public StringBuffer printExpression(int indent, StringBuffer output) {
output.append("<CompleteOnJavadocMessageSend:"); //$NON-NLS-1$
super.printExpression(indent, output);
indent++;
if (this.completionFlags > 0) {
output.append('\n');
for (int i = 0; i < indent; i++)
output.append('\t');
output.append("infos:"); //$NON-NLS-1$
char separator = 0;
if (completeAnException()) {
output.append("exception"); //$NON-NLS-1$
separator = ',';
}
if (completeInText()) {
if (separator != 0) output.append(separator);
output.append("text"); //$NON-NLS-1$
separator = ',';
}
if (completeBaseTypes()) {
if (separator != 0) output.append(separator);
output.append("base types"); //$NON-NLS-1$
separator = ',';
}
if (completeFormalReference()) {
if (separator != 0) output.append(separator);
output.append("formal reference"); //$NON-NLS-1$
separator = ',';
}
output.append('\n');
}
indent--;
for (int i = 0; i < indent; i++)
output.append('\t');
return output.append('>');
}
|
| ||||
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference#printExpression(int, java.lang.StringBuffer)
*/
public StringBuffer printExpression(int indent, StringBuffer output) {
output.append("<CompletionOnJavadocQualifiedTypeReference:"); //$NON-NLS-1$
super.printExpression(indent, output);
indent++;
if (this.completionFlags > 0) {
output.append('\n');
for (int i = 0; i < indent; i++)
output.append('\t');
output.append("infos:"); //$NON-NLS-1$
char separator = 0;
if (completeAnException()) {
output.append("exception"); //$NON-NLS-1$
separator = ',';
}
if (completeInText()) {
if (separator != 0) output.append(separator);
output.append("text"); //$NON-NLS-1$
separator = ',';
}
if (completeBaseTypes()) {
if (separator != 0) output.append(separator);
output.append("base types"); //$NON-NLS-1$
separator = ',';
}
if (completeFormalReference()) {
if (separator != 0) output.append(separator);
output.append("formal reference"); //$NON-NLS-1$
separator = ',';
}
output.append('\n');
}
indent--;
for (int i = 0; i < indent; i++)
output.append('\t');
return output.append('>');
}
|
| ||||
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.SingleTypeReference#printExpression(int, java.lang.StringBuffer)
*/
public StringBuffer printExpression(int indent, StringBuffer output) {
output.append("<CompletionOnJavadocSingleTypeReference:"); //$NON-NLS-1$
super.printExpression(indent, output);
indent++;
if (this.completionFlags > 0) {
output.append('\n');
for (int i = 0; i < indent; i++)
output.append('\t');
output.append("infos:"); //$NON-NLS-1$
char separator = 0;
if (completeAnException()) {
output.append("exception"); //$NON-NLS-1$
separator = ',';
}
if (completeInText()) {
if (separator != 0) output.append(separator);
output.append("text"); //$NON-NLS-1$
separator = ',';
}
if (completeBaseTypes()) {
if (separator != 0) output.append(separator);
output.append("base types"); //$NON-NLS-1$
separator = ',';
}
if (completeFormalReference()) {
if (separator != 0) output.append(separator);
output.append("formal reference"); //$NON-NLS-1$
separator = ',';
}
output.append('\n');
}
indent--;
for (int i = 0; i < indent; i++)
output.append('\t');
return output.append('>');
}
|
| |||
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.SingleTypeReference#printExpression(int, java.lang.StringBuffer)
*/
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference#printExpression(int, java.lang.StringBuffer)
*/
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.JavadocMessageSend#printExpression(int, java.lang.StringBuffer)
*/
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.JavadocFieldReference#printExpression(int, java.lang.StringBuffer)
*/
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ast.AllocationExpression#printExpression(int, java.lang.StringBuffer)
*/
public StringBuffer printExpression(int indent, StringBuffer output) {
output.append( [[#variableb85bfa60]]); //$NON-NLS-1$
super.printExpression(indent, output);
indent++;
if (this.completionFlags > 0) {
output.append('\n');
for (int i = 0; i < indent; i++)
output.append('\t');
output.append("infos:"); //$NON-NLS-1$
char separator = 0;
if (completeAnException()) {
output.append("exception"); //$NON-NLS-1$
separator = ',';
}
if (completeInText()) {
if (separator != 0)
output.append(separator);
output.append("text"); //$NON-NLS-1$
separator = ',';
}
if (completeBaseTypes()) {
if (separator != 0)
output.append(separator);
output.append("base types"); //$NON-NLS-1$
separator = ',';
}
if (completeFormalReference()) {
if (separator != 0)
output.append(separator);
output.append("formal reference"); //$NON-NLS-1$
separator = ',';
}
output.append('\n');
}
indent--;
for (int i = 0; i < indent; i++)
output.append('\t');
return output.append('>');
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b85bfa60]] | "<CompletionOnJavadocSingleTypeReference:" |
| 1 | 2 | [[#b85bfa60]] | "<CompletionOnJavadocQualifiedTypeReference:" |
| 1 | 3 | [[#b85bfa60]] | "<CompleteOnJavadocMessageSend:" |
| 1 | 4 | [[#b85bfa60]] | "<CompleteOnJavadocFieldReference:" |
| 1 | 5 | [[#b85bfa60]] | "<CompleteOnJavadocAllocationExpression:" |