Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 5 | 2 | 0.977 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 111 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
2 | 2 | 122 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
3 | 2 | 133 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
4 | 2 | 174 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
5 | 2 | 185 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
| ||||
/** * Checks if the given name is a valid Java field name. * * @param name the java field name. * @return a refactoring status containing the error message if the * name is not a valid java field name. */ public static RefactoringStatus checkFieldName(String name) { return checkName(name, JavaConventions.validateFieldName(name)); } |
| ||||
/** * Checks if the given name is a valid Java type parameter name. * * @param name the java type parameter name. * @return a refactoring status containing the error message if the * name is not a valid java type parameter name. */ public static RefactoringStatus checkTypeParameterName(String name) { return checkName(name, JavaConventions.validateTypeVariableName(name)); } |
| ||||
/** * Checks if the given name is a valid Java identifier. * * @param name the java identifier. * @return a refactoring status containing the error message if the * name is not a valid java identifier. */ public static RefactoringStatus checkIdentifier(String name) { return checkName(name, JavaConventions.validateIdentifier(name)); } |
| ||||
/** * Checks if the given name is a valid Java package name. * * @param name the java package name. * @return a refactoring status containing the error message if the * name is not a valid java package name. */ public static RefactoringStatus checkPackageName(String name) { return checkName(name, JavaConventions.validatePackageName(name)); } |
| ||||
/** * Checks if the given name is a valid compilation unit name. * * @param name the compilation unit name. * @return a refactoring status containing the error message if the * name is not a valid compilation unit name. */ public static RefactoringStatus checkCompilationUnitName(String name) { return checkName(name, JavaConventions.validateCompilationUnitName(name)); } |
| |||
/** * Checks if the given name is a valid Java field name. * * @param name the java field name. * @return a refactoring status containing the error message if the * name is not a valid java field name. */ /** * Checks if the given name is a valid Java type parameter name. * * @param name the java type parameter name. * @return a refactoring status containing the error message if the * name is not a valid java type parameter name. */ /** * Checks if the given name is a valid Java identifier. * * @param name the java identifier. * @return a refactoring status containing the error message if the * name is not a valid java identifier. */ /** * Checks if the given name is a valid Java package name. * * @param name the java package name. * @return a refactoring status containing the error message if the * name is not a valid java package name. */ /** * Checks if the given name is a valid compilation unit name. * * @param name the compilation unit name. * @return a refactoring status containing the error message if the * name is not a valid compilation unit name. */ public static RefactoringStatus [[#variable530777a0]](String name) { return checkName(name, JavaConventions. [[#variable53077740]](name)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#530777a0]] | checkFieldName |
1 | 2 | [[#530777a0]] | checkTypeParameterName |
1 | 3 | [[#530777a0]] | checkIdentifier |
1 | 4 | [[#530777a0]] | checkPackageName |
1 | 5 | [[#530777a0]] | checkCompilationUnitName |
2 | 1 | [[#53077740]] | validateFieldName |
2 | 2 | [[#53077740]] | validateTypeVariableName |
2 | 3 | [[#53077740]] | validateIdentifier |
2 | 4 | [[#53077740]] | validatePackageName |
2 | 5 | [[#53077740]] | validateCompilationUnitName |