public final class TargetParameterDeclarationEnricher extends Object implements WalkingDeclarationEnricher
DeclarationEnricher which adds a ExtensionConstants.TARGET_PARAMETER_NAME parameter to all non void
operationsWalkingDeclarationEnricher.DeclarationEnricherWalkDelegate| Constructor and Description |
|---|
TargetParameterDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
DeclarationEnricherPhase |
getExecutionPhase()
Specifies a
phase for the DeclarationEnricher to be executed. |
Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> |
getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
Optionally returns a
WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenrichpublic DeclarationEnricherPhase getExecutionPhase()
DeclarationEnricherphase for the DeclarationEnricher to be executed.getExecutionPhase in interface DeclarationEnricherphase in which the DeclarationEnricher is going to be executedpublic Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
WalkingDeclarationEnricherWalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic.
If Optional.empty() is returned, it means that this enricher does not apply to the given declaration and it should be
skipped
getWalkDelegate in interface WalkingDeclarationEnricherextensionLoadingContext - a ExtensionLoadingContextCopyright © 2022 MuleSoft, Inc.. All rights reserved.