public void flush() {
        if (annotationsBlocked()) return;
        if (isFlushing()) return;

        startFlushing();
        try {
            while (q.nonEmpty()) {
                q.next().run();
            }
            while (typesQ.nonEmpty()) {
                typesQ.next().run();
            }
            while (afterTypesQ.nonEmpty()) {
                afterTypesQ.next().run();
            }
            while (validateQ.nonEmpty()) {
                validateQ.next().run();
            }
        } finally {
            doneFlushing();
        }
    }
public void flush ( ) { if ( annotationsBlocked ( ) ) return ; if ( isFlushing ( ) ) return ; startFlushing ( ) ; try { while ( q . nonEmpty ( ) ) { q . next ( ) . run ( ) ; } while ( typesQ . nonEmpty ( ) ) { typesQ . next ( ) . run ( ) ; } while ( afterTypesQ . nonEmpty ( ) ) { afterTypesQ . next ( ) . run ( ) ; } while ( validateQ . nonEmpty ( ) ) { validateQ . next ( ) . run ( ) ; } } finally { doneFlushing ( ) ; } }
Flush all annotation queues