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 either static or statically accessible (i.e. |
public static List<SpecModelValidationError> validateMethodIsStatic(SpecModel specModel, SpecMethodModel<?,?> methodModel)
SpecMethodModel
is either static or statically accessible (i.e.
part of a well-known singleton structure).specModel
- SpecModel containing the SpecMethodModelmethodModel
- The method to analyze.