Class SingleMemberInjector<T>

    • Constructor Detail

    • Method Detail

      • getParanamer

        protected com.thoughtworks.paranamer.Paranamer getParanamer()
      • boxParameters

        protected void boxParameters​(Type[] parameterTypes)
      • isNullParamAllowed

        protected boolean isNullParamAllowed​(AccessibleObject member,
                                             int i)
        Checks to see if a null parameter is allowed in the given constructor/field/method. The default version allows null if the target object is not a primitive type.
        Parameters:
        member - constructor method or field
        i - parameter #.
        Returns:
        true if the null parameter might be allowed.