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