CloneSet509


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12610.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112450
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
212464
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
39482
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
49497
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
510512
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
610524
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
Clone Instance
1
Line Count
12
Source Line
450
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeMethodInvocationName() {
        // MethodInvocation ::= Name '(' ArgumentListopt ')'
        super.consumeMethodInvocationName();

        // when the name is only an identifier...we have a message send to "this" (implicit)
        MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
        Expression[] args = messageSend.arguments;
        if (reportReferenceInfo) {
                requestor.acceptMethodReference(
                        messageSend.selector, 
                        args == null ? 0:  args.length, 
                        (int) (messageSend.nameSourcePosition >>> 32));
        }
}


Clone Instance
2
Line Count
12
Source Line
464
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

protected void consumeMethodInvocationNameWithTypeArguments() {
        // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
        super.consumeMethodInvocationNameWithTypeArguments();

        // when the name is only an identifier...we have a message send to "this" (implicit)
        MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
        Expression[] args = messageSend.arguments;
        if (reportReferenceInfo) {
                requestor.acceptMethodReference(
                        messageSend.selector, 
                        args == null ? 0:  args.length, 
                        (int) (messageSend.nameSourcePosition >>> 32));
        }
}


Clone Instance
3
Line Count
9
Source Line
482
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeMethodInvocationPrimary() {
        super.consumeMethodInvocationPrimary();
        MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
        Expression[] args = messageSend.arguments;
        if (reportReferenceInfo) {
                requestor.acceptMethodReference(
                        messageSend.selector, 
                        args == null ? 0:  args.length, 
                        (int) (messageSend.nameSourcePosition >>> 32));
        }
}


Clone Instance
4
Line Count
9
Source Line
497
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeMethodInvocationPrimaryWithTypeArguments() {
        super.consumeMethodInvocationPrimaryWithTypeArguments();
        MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
        Expression[] args = messageSend.arguments;
        if (reportReferenceInfo) {
                requestor.acceptMethodReference(
                        messageSend.selector, 
                        args == null ? 0:  args.length, 
                        (int) (messageSend.nameSourcePosition >>> 32));
        }
}


Clone Instance
5
Line Count
10
Source Line
512
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeMethodInvocationSuper() {
        // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
        super.consumeMethodInvocationSuper();
        MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
        Expression[] args = messageSend.arguments;
        if (reportReferenceInfo) {
                requestor.acceptMethodReference(
                        messageSend.selector, 
                        args == null ? 0:  args.length, 
                        (int) (messageSend.nameSourcePosition >>> 32));
        }
}


Clone Instance
6
Line Count
10
Source Line
524
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

protected void consumeMethodInvocationSuperWithTypeArguments() {
        // MethodInvocation ::= 'super' '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
        super.consumeMethodInvocationSuperWithTypeArguments();
        MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
        Expression[] args = messageSend.arguments;
        if (reportReferenceInfo) {
                requestor.acceptMethodReference(
                        messageSend.selector, 
                        args == null ? 0:  args.length, 
                        (int) (messageSend.nameSourcePosition >>> 32));
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/*
 *
 * INTERNAL USE-ONLY
 */
protected void [[#variableb67c0c60]]() {
  // MethodInvocation ::= Name '(' ArgumentListopt ')'
  // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  // MethodInvocation ::= 'super' '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  super. [[#variableb67c0c60]]();
  // when the name is only an identifier...we have a message send to "this" (implicit)
  MessageSend messageSend = (MessageSend) expressionStack[expressionPtr];
  Expression[] args = messageSend.arguments;
  if (reportReferenceInfo) {
    requestor.acceptMethodReference(messageSend.selector, args == null ? 0: args.length, (int) (messageSend.nameSourcePosition >>> 32));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b67c0c60]]
consumeMethodInvocationName 
12[[#b67c0c60]]
consumeMethodInvocationNameWithTypeArguments 
13[[#b67c0c60]]
consumeMethodInvocationPrimary 
14[[#b67c0c60]]
consumeMethodInvocationPrimaryWithTypeArguments 
15[[#b67c0c60]]
consumeMethodInvocationSuper 
16[[#b67c0c60]]
consumeMethodInvocationSuperWithTypeArguments