Class AbstractBeanResolutionContext.MethodSegment

    • Field Summary

      • Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

        EMPTY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()  
      io.micronaut.core.type.Argument getArgument()  
      io.micronaut.core.type.Argument<?>[] getArguments()  
      BeanDefinition getDeclaringBean()  
      BeanDefinition getDeclaringType()  
      InjectionPoint getInjectionPoint()  
      java.lang.String getName()  
      int hashCode()  
      boolean requiresReflection()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

        findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
      • Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

        getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • requiresReflection

        public boolean requiresReflection()
        Specified by:
        requiresReflection in interface InjectionPoint
        Returns:
        Whether reflection is required to satisfy the injection point
      • getArguments

        public io.micronaut.core.type.Argument<?>[] getArguments()
        Specified by:
        getArguments in interface CallableInjectionPoint
        Returns:
        The required argument types.
      • getAnnotationMetadata

        public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
        Specified by:
        getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProvider
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface BeanResolutionContext.Segment
        Specified by:
        getName in interface io.micronaut.core.naming.Named
        Returns:
        The name of the segment. For a field this is the field name, for a method the method name and for a constructor the type name
      • getArgument

        public io.micronaut.core.type.Argument getArgument()
        Specified by:
        getArgument in interface BeanResolutionContext.Segment
        Returns:
        The argument to create the type. For a field this will be empty
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object