public static void checkParamExtensionCompatibility ( final Class < ? extends RepositoryMethodDescriptor > descriptorType , final Class < ? extends MethodParamExtension > paramExtType ) { check ( isCompatible ( paramExtType , MethodParamExtension . class , descriptorType ) , "Param extension %s is incompatible with descriptor %s" , paramExtType . getSimpleName ( ) , descriptorType . getSimpleName ( ) ) ; }
Checks that parameter extension is compatible with descriptor and throws error if extension incompatible .