Actually, the strategy should be:
-
if Jandex is on the classpath, checkTypeModifiers should be true if setFlags() method is present, false otherwise
-
otherwise checkTypeModifiers should be true (we expect org.jboss.weld.resources.spi.ClassFileServices implementations to work properly)
|