assertConstructsNotUsed

public void assertConstructsNotUsed(List<Class<? extends CtCodeElement>> disallowedConstructs)(source)

Tests whether none of the blacklisted constructs where used in the constructor.

Parameters

disallowedConstructs

the not allowed constructs in the constructor