CloneSet7848


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.957class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1627
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/env/AccessRestriction.java
2635
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/env/AccessRestriction.java
Clone Instance
1
Line Count
6
Source Line
27
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/env/AccessRestriction.java

        /**
         * Returns readable description for problem reporting, 
         * message is expected to contain room for restricted type name
         * e.g. "{0} has restricted access"
         */
        public String getMessageTemplate() {
                return this.messageTemplates[0];
        }

        public String getConstructorAccessMessageTemplate() {
                return this.messageTemplates[1];
        }


Clone Instance
2
Line Count
6
Source Line
35
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/env/AccessRestriction.java

        public String getMethodAccessMessageTemplate() {
                return this.messageTemplates[2];
        }

        public String getFieldAccessMessageTemplate() {
                return this.messageTemplates[3];
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Returns readable description for problem reporting, 
         * message is expected to contain room for restricted type name
         * e.g. "{0} has restricted access"
         */
public String  [[#variable4d8689c0]]() {
  return this.messageTemplates[ [[#variable4d868000]]];
}

public String  [[#variable4d868760]]() {
  return this.messageTemplates[ [[#variable4d401fa0]]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4d8689c0]]
getMessageTemplate 
12[[#4d8689c0]]
getMethodAccessMessageTemplate 
21[[#4d868000]]
0 
22[[#4d868000]]
2 
31[[#4d868760]]
getConstructorAccessMessageTemplate 
32[[#4d868760]]
getFieldAccessMessageTemplate 
41[[#4d401fa0]]
1 
42[[#4d401fa0]]
3