Class BaseAstNodeVisitorContext
java.lang.Object
org.mule.datasense.impl.model.ast.BaseAstNodeVisitorContext
- Direct Known Subclasses:
AnnotatingMuleAstVisitorContext,ExpectedAstVisitorContext,IncomingAstVisitorContext,TypingMuleAstVisitorContext
-
Constructor Summary
ConstructorsConstructorDescriptionBaseAstNodeVisitorContext(AstNotification astNotification, org.mule.runtime.api.metadata.ExpressionLanguageMetadataService expressionLanguageMetadataService) BaseAstNodeVisitorContext(TypeResolverRegistry typeResolverRegistry, AstNotification astNotification, org.mule.runtime.api.metadata.ExpressionLanguageMetadataService expressionLanguageMetadataService) -
Method Summary
Modifier and TypeMethodDescription<T extends VisitorContextAnnotation>
voidannotate(T annotation) <T extends VisitorContextAnnotation>
Optional<T>deannotate(Class<T> annotation) <T extends VisitorContextAnnotation>
Optional<T>getAnnotation(Class<T> annotationClass) org.mule.runtime.api.metadata.ExpressionLanguageMetadataService<T extends VisitorContextAnnotation>
TgetOrCreateAnnotation(Class<T> annotationClass, Supplier<T> supplier) org.mule.metadata.message.api.el.TypeBindings<T extends VisitorContextAnnotation>
booleanisAnnotatedWith(Class<T> annotationClass) logger()
-
Constructor Details
-
BaseAstNodeVisitorContext
public BaseAstNodeVisitorContext(AstNotification astNotification, org.mule.runtime.api.metadata.ExpressionLanguageMetadataService expressionLanguageMetadataService) -
BaseAstNodeVisitorContext
public BaseAstNodeVisitorContext(TypeResolverRegistry typeResolverRegistry, AstNotification astNotification, org.mule.runtime.api.metadata.ExpressionLanguageMetadataService expressionLanguageMetadataService)
-
-
Method Details
-
getExpressionLanguageMetadataService
public org.mule.runtime.api.metadata.ExpressionLanguageMetadataService getExpressionLanguageMetadataService() -
getTypeResolverRegistry
-
getAstNotification
-
logger
-
getAnnotations
-
getAnnotation
-
annotate
-
deannotate
-
isAnnotatedWith
-
getOrCreateAnnotation
public <T extends VisitorContextAnnotation> T getOrCreateAnnotation(Class<T> annotationClass, Supplier<T> supplier) -
getTypeBindings
public org.mule.metadata.message.api.el.TypeBindings getTypeBindings()
-