Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 6 | 1 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 450 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
2 | 12 | 464 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
3 | 9 | 482 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
4 | 9 | 497 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
5 | 10 | 512 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
6 | 10 | 524 | 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)); } } |
| ||||
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)); } } |
| ||||
/* * * 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)); } } |
| ||||
/* * * 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)); } } |
| ||||
/* * * 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)); } } |
| ||||
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)); } } |
| |||
/* * * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b67c0c60]] | consumeMethodInvocationName |
1 | 2 | [[#b67c0c60]] | consumeMethodInvocationNameWithTypeArguments |
1 | 3 | [[#b67c0c60]] | consumeMethodInvocationPrimary |
1 | 4 | [[#b67c0c60]] | consumeMethodInvocationPrimaryWithTypeArguments |
1 | 5 | [[#b67c0c60]] | consumeMethodInvocationSuper |
1 | 6 | [[#b67c0c60]] | consumeMethodInvocationSuperWithTypeArguments |