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