assertCorrectModifiers
public static T assertCorrectModifiers<T extends WithModifiers>(T link, Array<Modifier> attributes)(source)
Asserts that the given org.tudalgo.algoutils.tutor.general.reflections.Link has the correct modifiers.
Return
the org.tudalgo.algoutils.tutor.general.reflections.Link if it has the correct modifiers
Parameters
link
the org.tudalgo.algoutils.tutor.general.reflections.Link to check
attributes
the Modifiers that should be present
<T>
the type of the org.tudalgo.algoutils.tutor.general.reflections.Link