Class NonnullPlugin
java.lang.Object
com.vaadin.hilla.parser.core.AbstractPlugin<NonnullPluginConfig>
com.vaadin.hilla.parser.plugins.nonnull.NonnullPlugin
- All Implemented Interfaces:
Plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled on the way out of a node, once the nodes below it have been walked, which is where a plugin settles what depends on them.Collection<Class<? extends Plugin>> The plugins which have to come before this one in the chain, which a composite plugin checks when it is created.@NonNull NodeDependenciesscan(@NonNull NodeDependencies nodeDependencies) Says what is below a node: its child nodes, walked right below it, and its related nodes, walked once below the root after everything already queued.voidsetConfiguration(@NonNull PluginConfiguration configuration) Methods inherited from class com.vaadin.hilla.parser.core.AbstractPlugin
getConfiguration, getParserConfig, setParserConfig
-
Constructor Details
-
NonnullPlugin
public NonnullPlugin()
-
-
Method Details
-
exit
Description copied from interface:PluginCalled on the way out of a node, once the nodes below it have been walked, which is where a plugin settles what depends on them. A composite plugin exits its plugins in the opposite order to the one it enters them in. -
getRequiredPlugins
Description copied from interface:PluginThe plugins which have to come before this one in the chain, which a composite plugin checks when it is created. -
scan
Description copied from interface:PluginSays what is below a node: its child nodes, walked right below it, and its related nodes, walked once below the root after everything already queued. Called when the walk enters a node, in the order of the plugins, each one adding to what the one before it returned. A node equal to one scanned before gets the same result without being scanned again.- Parameters:
nodeDependencies- the node with what the plugins before this one found below it- Returns:
- what is below the node, with what this plugin found added
-
setConfiguration
- Specified by:
setConfigurationin interfacePlugin- Overrides:
setConfigurationin classAbstractPlugin<NonnullPluginConfig>
-