Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 4 | 0.971 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 298 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryType.java |
2 | 9 | 451 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryType.java |
3 | 9 | 674 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryType.java |
| ||||
/* * @see IType#getFields() */ public IField[] getFields() throws JavaModelException { ArrayList list = getChildrenOfType(FIELD); int size; if ((size = list.size()) == 0) { return NO_FIELDS; } else { IField[] array = new IField[size]; list.toArray(array); return array; } } |
| ||||
/* * @see IType#getMethods() */ public IMethod[] getMethods() throws JavaModelException { ArrayList list = getChildrenOfType(METHOD); int size; if ((size = list.size()) == 0) { return NO_METHODS; } else { IMethod[] array = new IMethod[size]; list.toArray(array); return array; } } |
| ||||
/* * @see IType#getTypes() */ public IType[] getTypes() throws JavaModelException { ArrayList list = getChildrenOfType(TYPE); int size; if ((size = list.size()) == 0) { return NO_TYPES; } else { IType[] array = new IType[size]; list.toArray(array); return array; } } |
| |||
/* * @see IType#getFields() */ /* * @see IType#getMethods() */ /* * @see IType#getTypes() */ public [[#variable92bf83c0]][] [[#variable92bf8320]]() throws JavaModelException { ArrayList list = getChildrenOfType( [[#variable9c663ea0]]); int size; if ((size = list.size()) == 0) { return [[#variable92bf83a0]]; } else { [[#variable92bf83c0]][] array = new [[#variable92bf83c0]][size]; list.toArray(array); return array; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#92bf83c0]] | IField |
1 | 2 | [[#92bf83c0]] | IMethod |
1 | 3 | [[#92bf83c0]] | IType |
2 | 1 | [[#92bf8320]] | getFields |
2 | 2 | [[#92bf8320]] | getMethods |
2 | 3 | [[#92bf8320]] | getTypes |
3 | 1 | [[#9c663ea0]] | FIELD |
3 | 2 | [[#9c663ea0]] | METHOD |
3 | 3 | [[#9c663ea0]] | TYPE |
4 | 1 | [[#92bf83a0]] | NO_FIELDS |
4 | 2 | [[#92bf83a0]] | NO_METHODS |
4 | 3 | [[#92bf83a0]] | NO_TYPES |