CloneSet1067


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.998class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1195297
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2195317
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
19
Source Line
5297
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

        public boolean visit(Wildcard wildcard, BlockScope scope) {
                this.scribe.printNextToken(TerminalTokens.TokenNameQUESTION, this.preferences.insert_space_before_question_in_wilcard);
                switch (wildcard.kind) {
                        case Wildcard.SUPER:
                                this.scribe.printNextToken(TerminalTokens.TokenNamesuper, true);
                                this.scribe.space();
                                wildcard.bound.traverse(this, scope);
                                break;
                        case Wildcard.EXTENDS:
                                this.scribe.printNextToken(TerminalTokens.TokenNameextends, true);
                                this.scribe.space();
                                wildcard.bound.traverse(this, scope);
                                break;
                        case Wildcard.UNBOUND:
                                if (this.preferences.insert_space_after_question_in_wilcard) {
                                        this.scribe.space();
                                }
                      }
                return false;
        }


Clone Instance
2
Line Count
19
Source Line
5317
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

        public boolean visit(Wildcard wildcard, ClassScope scope) {
                this.scribe.printNextToken(TerminalTokens.TokenNameQUESTION, this.preferences.insert_space_before_question_in_wilcard);
                switch (wildcard.kind) {
                        case Wildcard.SUPER:
                                this.scribe.printNextToken(TerminalTokens.TokenNamesuper, true);
                                this.scribe.space();
                                wildcard.bound.traverse(this, scope);
                                break;
                        case Wildcard.EXTENDS:
                                this.scribe.printNextToken(TerminalTokens.TokenNameextends, true);
                                this.scribe.space();
                                wildcard.bound.traverse(this, scope);
                                break;
                        case Wildcard.UNBOUND:
                                if (this.preferences.insert_space_after_question_in_wilcard) {
                                        this.scribe.space();
                                }
                      }
                return false;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public boolean visit(Wildcard wildcard, [[#variable5ed6cda0]] scope) {
  this.scribe.printNextToken(TerminalTokens.TokenNameQUESTION, this.preferences.insert_space_before_question_in_wilcard);
  switch (wildcard.kind) {
    case Wildcard.SUPER:
      this.scribe.printNextToken(TerminalTokens.TokenNamesuper, true);
      this.scribe.space();
      wildcard.bound.traverse(this, scope);
      break;
    case Wildcard.EXTENDS:
      this.scribe.printNextToken(TerminalTokens.TokenNameextends, true);
      this.scribe.space();
      wildcard.bound.traverse(this, scope);
      break;
    case Wildcard.UNBOUND:
      if (this.preferences.insert_space_after_question_in_wilcard) {
        this.scribe.space();
      }
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ed6cda0]]
BlockScope 
12[[#5ed6cda0]]
ClassScope