Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 3 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 39 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/InternalNamingConventions.java |
2 | 15 | 73 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/InternalNamingConventions.java |
| ||||
public static void suggestArgumentNames(IJavaProject javaProject, char[] packageName, char[] qualifiedTypeName, int dim, char[] internalPrefix, char[][] excludedNames, INamingRequestor requestor) { Map options = javaProject.getOptions(true); CompilerOptions compilerOptions = new CompilerOptions(options); AssistOptions assistOptions = new AssistOptions(options); suggestNames( packageName, qualifiedTypeName, dim, internalPrefix, assistOptions.argumentPrefixes, assistOptions.argumentSuffixes, excludedNames, getNameScanner(compilerOptions), requestor); } |
| ||||
public static void suggestLocalVariableNames(IJavaProject javaProject, char[] packageName, char[] qualifiedTypeName, int dim, char[] internalPrefix, char[][] excludedNames, INamingRequestor requestor) { Map options = javaProject.getOptions(true); CompilerOptions compilerOptions = new CompilerOptions(options); AssistOptions assistOptions = new AssistOptions(options); suggestNames( packageName, qualifiedTypeName, dim, internalPrefix, assistOptions.localPrefixes, assistOptions.localSuffixes, excludedNames, getNameScanner(compilerOptions), requestor); } |
| |||
public static void [[#variable59dc7e80]](IJavaProject javaProject, char[] packageName, char[] qualifiedTypeName, int dim, char[] internalPrefix, char[][] excludedNames, INamingRequestor requestor) { Map options = javaProject.getOptions(true); CompilerOptions compilerOptions = new CompilerOptions(options); AssistOptions assistOptions = new AssistOptions(options); suggestNames(packageName, qualifiedTypeName, dim, internalPrefix, assistOptions. [[#variable59dc7de0]], assistOptions. [[#variable59dc7d80]], excludedNames, getNameScanner(compilerOptions), requestor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#59dc7e80]] | suggestArgumentNames |
1 | 2 | [[#59dc7e80]] | suggestLocalVariableNames |
2 | 1 | [[#59dc7de0]] | argumentPrefixes |
2 | 2 | [[#59dc7de0]] | localPrefixes |
3 | 1 | [[#59dc7d80]] | argumentSuffixes |
3 | 2 | [[#59dc7d80]] | localSuffixes |