assertCorrectParameters

public static T assertCorrectParameters<T extends WithTypeList>(T withParameters, Array<Matcher<? super TypeLink>> matchers)(source)

Assert that the parameters of the given WithTypeList are correctly declared.

Return

the WithTypeList if the parameters are correct

Parameters

withParameters

the WithTypeList to check

matchers

the Matchers to match the parameters against

<T>

the type of the WithTypeList