Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
38 | 2 | 4 | 0.979 | class_body_declarations[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 38 | 22 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocParamNameReference.java |
2 | 38 | 21 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocTypeParamReference.java |
| ||||
public CompletionOnJavadocParamNameReference(char[] name, long pos, int start, int end) { super(name, pos, start, end); } public CompletionOnJavadocParamNameReference(JavadocSingleNameReference nameRef) { super(nameRef.token, (((long) nameRef.sourceStart) << 32) + nameRef.sourceEnd, nameRef.tagSourceStart, nameRef.tagSourceStart); } /** * @param flags The completionFlags to set. */ public void addCompletionFlags(int flags) { this.completionFlags |= flags; } /** * Get completion node flags. * * @return int Flags of the javadoc completion node. */ public int getCompletionFlags() { return this.completionFlags; } /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.ast.AllocationExpression#printExpression(int, java.lang.StringBuffer) */ public StringBuffer printExpression(int indent, StringBuffer output) { output.append("<CompletionOnJavadocParamNameReference:"); //$NON-NLS-1$ if (this.token != null) super.printExpression(indent, output); return output.append('>'); } /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.ast.SingleNameReference#reportError(org.eclipse.jdt.internal.compiler.lookup.BlockScope) */ public TypeBinding reportError(BlockScope scope) { return null; } |
| ||||
public CompletionOnJavadocTypeParamReference(char[] name, long pos, int start, int end) { super(name, pos, start, end); } public CompletionOnJavadocTypeParamReference(JavadocSingleTypeReference typeRef) { super(typeRef.token, (((long) typeRef.sourceStart) << 32) + typeRef.sourceEnd, typeRef.tagSourceStart, typeRef.tagSourceStart); } /** * @param flags The completionFlags to set. */ public void addCompletionFlags(int flags) { this.completionFlags |= flags; } /** * Get completion node flags. * * @return int Flags of the javadoc completion node. */ public int getCompletionFlags() { return this.completionFlags; } /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.ast.AllocationExpression#printExpression(int, java.lang.StringBuffer) */ public StringBuffer printExpression(int indent, StringBuffer output) { output.append("<CompletionOnJavadocTypeParamReference:"); //$NON-NLS-1$ if (this.token != null) super.printExpression(indent, output); return output.append('>'); } /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.ast.SingleNameReference#reportError(org.eclipse.jdt.internal.compiler.lookup.BlockScope) */ public TypeBinding reportError(BlockScope scope) { return null; } |
| |||
public [[#variablebc9c6060]](char[] name, long pos, int start, int end) { super(name, pos, start, end); } public [[#variablebc9c6060]]( [[#variable5319bfc0]] [[#variable587bd2e0]]) { super( [[#variable587bd2e0]].token, (((long) [[#variable587bd2e0]].sourceStart) << 32) + [[#variable587bd2e0]].sourceEnd, [[#variable587bd2e0]].tagSourceStart, [[#variable587bd2e0]].tagSourceStart); } /** * @param flags The completionFlags to set. */ public void addCompletionFlags(int flags) { this.completionFlags |= flags; } /** * Get completion node flags. * * @return int Flags of the javadoc completion node. */ public int getCompletionFlags() { return this.completionFlags; } /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.ast.AllocationExpression#printExpression(int, java.lang.StringBuffer) */ public StringBuffer printExpression(int indent, StringBuffer output) { output.append( [[#variable587bd2c0]]); //$NON-NLS-1$ if (this.token != null) super.printExpression(indent, output); return output.append('>'); } /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.ast.SingleNameReference#reportError(org.eclipse.jdt.internal.compiler.lookup.BlockScope) */ public TypeBinding reportError(BlockScope scope) { return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bc9c6060]] | CompletionOnJavadocParamNameReference |
1 | 2 | [[#bc9c6060]] | CompletionOnJavadocTypeParamReference |
2 | 1 | [[#5319bfc0]] | JavadocSingleNameReference |
2 | 2 | [[#5319bfc0]] | JavadocSingleTypeReference |
3 | 1 | [[#587bd2e0]] | nameRef |
3 | 2 | [[#587bd2e0]] | typeRef |
4 | 1 | [[#587bd2c0]] | "<CompletionOnJavadocParamNameReference:" |
4 | 2 | [[#587bd2c0]] | "<CompletionOnJavadocTypeParamReference:" |