}
// look for ApplicationPath, it will often return the same than the previous one
// but without finder.link() invocation it still works
// so it can save a lot of startup time
final List<Annotated<Class<?>>> applicationsByAnnotation = finder.findMetaAnnotatedClasses(ApplicationPath.class);
for (final Annotated<Class<?>> annotatedApp : applicationsByAnnotation) {
final Class<?> app = annotatedApp.get();
if (!Application.class.isAssignableFrom(app)) {
logger.error("class '" + app.getName() + "' is annotated with @ApplicationPath but doesn't implement " + Application.class.getName());
continue;