Interface ArchModules.RootClassDescriptorCreator<DESCRIPTOR extends ArchModule.Descriptor>
- Type Parameters:
DESCRIPTOR- A specific subtype ofArchModule.Descriptor
- Enclosing class:
- ArchModules<DESCRIPTOR extends ArchModule.Descriptor>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@PublicAPI(usage=INHERITANCE)
public static interface ArchModules.RootClassDescriptorCreator<DESCRIPTOR extends ArchModule.Descriptor>
A more convenient
ArchModules.DescriptorCreator tailored to the case that we
define our modules by root classes. Allows to derive the specific ArchModule.Descriptor
directly from the root class that induced the respective ArchModule.-
Method Summary
-
Method Details
-
create
- Parameters:
identifier- TheArchModule.Identifierof the respectiveArchModulerootClass- Theroot classfrom which the respectiveArchModulewas derived- Returns:
- A specific instance of a subtype of
ArchModule.Descriptor
-