Package com.tonic.renamer.validation
Class RenameValidator
- java.lang.Object
-
- com.tonic.renamer.validation.RenameValidator
-
public class RenameValidator extends Object
Validates rename mappings before application.
-
-
Constructor Summary
Constructors Constructor Description RenameValidator(ClassPool classPool, MappingStore mappings)Creates a validator for one mapping store.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResultvalidate()Validates all mappings in the store.
-
-
-
Constructor Detail
-
RenameValidator
public RenameValidator(ClassPool classPool, MappingStore mappings)
Creates a validator for one mapping store.- Parameters:
classPool- the classes the mappings are checked againstmappings- the mappings to validate
-
-
Method Detail
-
validate
public ValidationResult validate()
Validates all mappings in the store.- Returns:
- ValidationResult containing any errors or warnings
-
-