public final class SpecMethodModelValidation extends Object
SpecMethodModel
s for a SpecModel
are well-formed.Modifier and Type | Method and Description |
---|---|
static List<SpecModelValidationError> |
validateMethodIsStatic(SpecModel specModel,
SpecMethodModel<?,?> methodModel)
Validate that the given
SpecMethodModel is static. |
static List<SpecModelValidationError> |
validateMethodName(SpecMethodModel<?,?> methodModel)
Validate that a method adheres to the component method naming rules.
|
public static List<SpecModelValidationError> validateMethodIsStatic(SpecModel specModel, SpecMethodModel<?,?> methodModel)
SpecMethodModel
is static.specModel
- SpecModel containing the SpecMethodModelmethodModel
- The method to analyze.public static List<SpecModelValidationError> validateMethodName(SpecMethodModel<?,?> methodModel)
methodModel
- The method to analyze.