public class DelegateMethodValidation extends Object
SpecMethodModel
s for a SpecModel
are well-formed.Constructor and Description |
---|
DelegateMethodValidation() |
Modifier and Type | Method and Description |
---|---|
static List<SpecModelValidationError> |
validateDefinedParameterTypes(SpecMethodModel<DelegateMethod,Void> delegateMethod,
Class<? extends Annotation> delegateMethodAnnotation,
ImmutableList<com.squareup.javapoet.TypeName> definedParameterTypes) |
static List<SpecModelValidationError> |
validateMethods(SpecModel specModel,
Map<Class<? extends Annotation>,DelegateMethodDescription> delegateMethodDescriptions) |
public static List<SpecModelValidationError> validateMethods(SpecModel specModel, Map<Class<? extends Annotation>,DelegateMethodDescription> delegateMethodDescriptions)
public static List<SpecModelValidationError> validateDefinedParameterTypes(SpecMethodModel<DelegateMethod,Void> delegateMethod, Class<? extends Annotation> delegateMethodAnnotation, ImmutableList<com.squareup.javapoet.TypeName> definedParameterTypes)