public static class Folder.FolderConfigPreProcessor extends Object implements ConfigPreProcessor<Folder>
Constructor and Description |
---|
FolderConfigPreProcessor() |
Modifier and Type | Method and Description |
---|---|
Folder |
beforeAddToConfig(Folder folder,
ViewConfigNode viewConfigNode) |
public Folder beforeAddToConfig(Folder folder, ViewConfigNode viewConfigNode)
beforeAddToConfig
in interface ConfigPreProcessor<Folder>
folder
- The annotation-instance which was found or the inherited instance.
Since it's possible to override annotation-attributes alongside the inheritance-path,
it can be a merged representation.
To get rid of meta-data which is only inherited,
it's required to check the presence of the physical annotation e.g. via
ViewConfigNode#getSource#isAnnotationPresent
and return a synthetic literal-instance (as a marker/placeholder),
because 'null' isn't supported as return-value.viewConfigNode
- Instance which represents the current nodeCopyright © 2020 The Apache Software Foundation. All rights reserved.