Class ParameterValueRedefiner.ParameterValue

    • Method Detail

      • getPosition

        public int getPosition()
        Get the position of the parameter in the member's parameter list.
        Returns:
        the position of the parameter
      • getDefaultValue

        public Object getDefaultValue​(CreationalContext<?> creationalContext)
        Get the default value of the parameter. The default value is that which would be injected according to the CDI type safe resolution rules.
        Parameters:
        creationalContext - the creationalContext to use to obtain the injectable reference.
        Returns:
        the default value