public class DelegateMethodValidation extends Object
SpecMethodModel
s for a SpecModel
are well-formed.Constructor and Description |
---|
DelegateMethodValidation() |
Modifier and Type | Method and Description |
---|---|
static String |
getOptionalParamsError(DelegateMethodDescription delegateMethodDescription) |
static String |
getStringRepresentationOfParamTypes(ImmutableList<DelegateMethodDescription.OptionalParameterType> optionalParameterTypes) |
static boolean |
isOptionalParamValid(SpecModel specModel,
ImmutableList<DelegateMethodDescription.OptionalParameterType> parameterTypes,
MethodParamModel methodParamModel) |
static List<SpecModelValidationError> |
validateDefinedParameterTypes(SpecMethodModel<DelegateMethod,Void> delegateMethod,
Class<? extends Annotation> delegateMethodAnnotation,
ImmutableList<TypeName> definedParameterTypes) |
static List<SpecModelValidationError> |
validateMethods(SpecModel specModel,
Map<Class<? extends Annotation>,DelegateMethodDescription> delegateMethodDescriptions,
Map<Class<? extends Annotation>,Class<? extends Annotation>> interStageInputsMap) |
public static List<SpecModelValidationError> validateMethods(SpecModel specModel, Map<Class<? extends Annotation>,DelegateMethodDescription> delegateMethodDescriptions, Map<Class<? extends Annotation>,Class<? extends Annotation>> interStageInputsMap)
public static List<SpecModelValidationError> validateDefinedParameterTypes(SpecMethodModel<DelegateMethod,Void> delegateMethod, Class<? extends Annotation> delegateMethodAnnotation, ImmutableList<TypeName> definedParameterTypes)
public static boolean isOptionalParamValid(SpecModel specModel, ImmutableList<DelegateMethodDescription.OptionalParameterType> parameterTypes, MethodParamModel methodParamModel)
public static String getOptionalParamsError(DelegateMethodDescription delegateMethodDescription)
public static String getStringRepresentationOfParamTypes(ImmutableList<DelegateMethodDescription.OptionalParameterType> optionalParameterTypes)