Interface BeanResolutionContext.Path

    • Method Detail

      • pushBeanCreate

        BeanResolutionContext.Path pushBeanCreate​(BeanDefinition<?> declaringType,
                                                  io.micronaut.core.type.Argument<?> beanType)
        Push an unresolved constructor call onto the queue.
        Parameters:
        declaringType - The type
        beanType - The bean type
        Returns:
        This path
      • pushConstructorResolve

        BeanResolutionContext.Path pushConstructorResolve​(BeanDefinition declaringType,
                                                          java.lang.String methodName,
                                                          io.micronaut.core.type.Argument argument,
                                                          io.micronaut.core.type.Argument[] arguments,
                                                          boolean requiresReflection)
        Push an unresolved constructor call onto the queue.
        Parameters:
        declaringType - The type
        methodName - The method name
        argument - The unresolved argument
        arguments - The arguments
        requiresReflection - is requires reflection
        Returns:
        This path
      • pushConstructorResolve

        BeanResolutionContext.Path pushConstructorResolve​(BeanDefinition declaringType,
                                                          io.micronaut.core.type.Argument argument)
        Push an unresolved constructor call onto the queue.
        Parameters:
        declaringType - The type
        argument - The unresolved argument
        Returns:
        This path
      • pushMethodArgumentResolve

        BeanResolutionContext.Path pushMethodArgumentResolve​(BeanDefinition declaringType,
                                                             MethodInjectionPoint methodInjectionPoint,
                                                             io.micronaut.core.type.Argument argument)
        Push an unresolved method call onto the queue.
        Parameters:
        declaringType - The type
        methodInjectionPoint - The method injection point
        argument - The unresolved argument
        Returns:
        This path
      • pushMethodArgumentResolve

        BeanResolutionContext.Path pushMethodArgumentResolve​(BeanDefinition declaringType,
                                                             java.lang.String methodName,
                                                             io.micronaut.core.type.Argument argument,
                                                             io.micronaut.core.type.Argument[] arguments,
                                                             boolean requiresReflection)
        Push an unresolved method call onto the queue.
        Parameters:
        declaringType - The type
        methodName - The method name
        argument - The unresolved argument
        arguments - The arguments
        requiresReflection - is requires reflection
        Returns:
        This path
      • pushFieldResolve

        BeanResolutionContext.Path pushFieldResolve​(BeanDefinition declaringType,
                                                    io.micronaut.core.type.Argument fieldAsArgument,
                                                    boolean requiresReflection)
        Push an unresolved field onto the queue.
        Parameters:
        declaringType - declaring type
        fieldAsArgument - The field as argument
        requiresReflection - is requires reflection
        Returns:
        This path
      • toCircularString

        java.lang.String toCircularString()
        Converts the path to a circular string.
        Returns:
        The circular string
      • close

        default void close()
        Specified by:
        close in interface java.lang.AutoCloseable