Package space.arim.dazzleconf
Interface ConfigurationDefinition.Layout
- Enclosing interface:
ConfigurationDefinition<C>
@API(status=MAINTAINED)
public static interface ConfigurationDefinition.Layout
The layout of a configuration definition.
This layout includes all of a scanned interface's components, as well as reflective services used to access those components.
-
Method Summary
Modifier and TypeMethodDescription@NonNull CommentDataGets the top level comments on the configuration interface.@NonNull InstantiatorGets the instantiator used to generate interface implementations.@NonNull MethodMirrorGets the method mirror used to invoke methods@NonNull ReifiedType.AnnotatedGets the type of the configuration interface.
-
Method Details
-
getReifiedType
@NonNull ReifiedType.Annotated getReifiedType()Gets the type of the configuration interface.This is always the same type as
ConfigurationDefinition.getType().- Returns:
- the type of the configuration interface
-
getComments
@NonNull CommentData getComments()Gets the top level comments on the configuration interface.These are the comments that exist at the global level and are not tied to any specific entry. If none are set, an empty
Commentsis returned.- Returns:
- the top level comments, which may be empty if not set
-
getInstantiator
@NonNull Instantiator getInstantiator()Gets the instantiator used to generate interface implementations.- Returns:
- the instantiator
-
getMethodMirror
@NonNull MethodMirror getMethodMirror()Gets the method mirror used to invoke methods- Returns:
- the method mirror
-