core: Make TypeLiterals use JSR-330 Providers.