org.springframework.beans.factory.annotation

Class InjectionMetadata.InjectedElement

  • java.lang.Object
    • org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
    • Field Detail

      • member

        protected final java.lang.reflect.Member member
      • isField

        protected final boolean isField
      • pd

        @Nullable
        protected final java.beans.PropertyDescriptor pd
      • skip

        @Nullable
        protected volatile java.lang.Boolean skip
    • Constructor Detail

      • InjectedElement

        protected InjectedElement(java.lang.reflect.Member member,
                                  @Nullable
                                  java.beans.PropertyDescriptor pd)
    • Method Detail

      • getMember

        public final java.lang.reflect.Member getMember()
      • getResourceType

        protected final java.lang.Class<?> getResourceType()
      • checkResourceType

        protected final void checkResourceType(java.lang.Class<?> resourceType)
      • checkPropertySkipping

        protected boolean checkPropertySkipping(@Nullable
                                                PropertyValues pvs)
        Check whether this injector's property needs to be skipped due to an explicit property value having been specified. Also marks the affected property as processed for other processors to ignore it.
      • clearPropertySkipping

        protected void clearPropertySkipping(@Nullable
                                             PropertyValues pvs)
        Clear property skipping for this element.
        Since:
        3.2.13
      • equals

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

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

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