assertElementsNotUsed

public static void assertElementsNotUsed(CtMethod<? extends Object> method, Context context, Array<Matcher<CtElement>> elements)(source)

Asserts that the given method does not use any of the given elements.

Parameters

method

the method

context

the context of this test

elements

the elements that must not be used