CloneSet860


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
38240.979class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13822
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocParamNameReference.java
23821
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocTypeParamReference.java
Clone Instance
1
Line Count
38
Source Line
22
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocParamNameReference.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;
        }


Clone Instance
2
Line Count
38
Source Line
21
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocTypeParamReference.java

        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;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bc9c6060]]
CompletionOnJavadocParamNameReference 
12[[#bc9c6060]]
CompletionOnJavadocTypeParamReference 
21[[#5319bfc0]]
JavadocSingleNameReference 
22[[#5319bfc0]]
JavadocSingleTypeReference 
31[[#587bd2e0]]
nameRef 
32[[#587bd2e0]]
typeRef 
41[[#587bd2c0]]
"<CompletionOnJavadocParamNameReference:" 
42[[#587bd2c0]]
"<CompletionOnJavadocTypeParamReference:"