Class Plugin.Factory.UsingReflection.Instantiator.Ambiguous

    • Field Detail

      • left

        private final java.lang.reflect.Constructor<?> left
        The left constructor.
      • right

        private final java.lang.reflect.Constructor<?> right
        The right constructor.
      • priority

        private final int priority
        The resolved priority.
      • parameters

        private final int parameters
        The resolved number of parameters.
    • Constructor Detail

      • Ambiguous

        protected Ambiguous​(java.lang.reflect.Constructor<?> left,
                            java.lang.reflect.Constructor<?> right,
                            int priority,
                            int parameters)
        Creates a new ambiguous instantiator.
        Parameters:
        left - The left constructor.
        right - The right constructor.
        priority - The resolved priority.
        parameters - The resolved number of parameters.