Package org.mule.metadata.ast.api
Interface TypeHandler
-
public interface TypeHandlerHandler for AST Types- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeBuilder<?>handle(TypeMirror typeMirror, TypeVisitor<TypeBuilder<?>,IntrospectionContext> delegate, IntrospectionContext context)Handles a givenTypeMirrorand returns the correspondentTypeBuilderbooleanhandles(TypeMirror typeMirror)
-
-
-
Method Detail
-
handles
boolean handles(TypeMirror typeMirror)
- Returns:
- a boolean indicating if this
TypeHandlersupports the givenTypeMirror
-
handle
TypeBuilder<?> handle(TypeMirror typeMirror, TypeVisitor<TypeBuilder<?>,IntrospectionContext> delegate, IntrospectionContext context)
Handles a givenTypeMirrorand returns the correspondentTypeBuilder- Parameters:
typeMirror- Type to introspectdelegate- Delegate visitorcontext- Current context with already introspected types.- Returns:
- The
TypeBuilderrepresentation of the givenTypeMirror
-
-