Annotation Interface Implementation
Indicates that the annotated class is a custom implementation that should replace the default implementation.
A class annotated with Implementation will be automatically searched for with help of the ClassFinders
and instantiated by guice. Following types are candidates for automatic registration.
PermissionsProviderGuildScopeProviderErrorMessageFactoryDescriptorLocalizerEmojiSource
Additionally, the following classes can be also automatically registered via their dedicated annotations.
Middleware(via@Implementation.Middleware)TypeAdapter(via@Implementation.TypeAdapter)Validator(via@Implementation.Validator)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceA class annotated withImplementation.Middlewarewill be automatically searched for and instantiated as aMiddlewareby guice.static @interfaceA class annotated withImplementation.TypeAdapterwill be automatically searched for and instantiated as aTypeAdapterby guice.static @interfaceA class annotated withImplementation.Validatorwill be automatically searched for and instantiated as aValidatorby guice.