I just checked, ejb3 doesn't use scannotation. 

In general, WildFly uses Jandex for annotation related metadata processing. We don't enforce other projects to use it though.