public static class ViewControllerRef.AnnotationPreProcessor extends Object implements ConfigPreProcessor<ViewControllerRef>
Constructor and Description |
---|
ViewControllerRef.AnnotationPreProcessor() |
Modifier and Type | Method and Description |
---|---|
ViewControllerRef |
beforeAddToConfig(ViewControllerRef metaData,
ViewConfigNode viewConfigNode) |
public ViewControllerRef.AnnotationPreProcessor()
public ViewControllerRef beforeAddToConfig(ViewControllerRef metaData, ViewConfigNode viewConfigNode)
beforeAddToConfig
in interface ConfigPreProcessor<ViewControllerRef>
metaData
- 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 © 2018 The Apache Software Foundation. All rights reserved.