sirius.tagliatelle.ClassAliasProvider Maven / Gradle / Ivy
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*/
package sirius.tagliatelle;
import java.util.function.BiConsumer;
/**
* Provides a mapping of aliases to real java classes.
*
* Implementations can be {@link sirius.kernel.di.std.Register registered} and then provide aliases for commonly used
* classes.
*/
public interface ClassAliasProvider {
/**
* Collects all available aliases and their target classes
*
* @param consumer the consumer to supply with aliases
*/
void collectAliases(BiConsumer> consumer);
}