Class AbstractBeanResolutionContext.FieldSegment

    • 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
      • asArgument

        public io.micronaut.core.type.Argument asArgument()
        Specified by:
        asArgument in interface io.micronaut.core.type.ArgumentCoercible
        Specified by:
        asArgument in interface ArgumentInjectionPoint
      • 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