use of org.mule.runtime.extension.api.declaration.type.ExtensionsTypeHandlerManagerFactory in project mule by mulesoft.
the class ExtensionsTestUtils method objectTypeBuilder.
public static TypeBuilder<?> objectTypeBuilder(Class<?> clazz) {
BaseTypeBuilder typeBuilder = BaseTypeBuilder.create(JAVA);
final TypeHandlerManager typeHandlerManager = new ExtensionsTypeHandlerManagerFactory().createTypeHandlerManager();
typeHandlerManager.handle(clazz, new ParsingContext(), typeBuilder);
return typeBuilder;
}
Aggregations