Enum MemberSubstitution.Replacement.Binding.Unresolved

    • Constructor Detail

      • Unresolved

        private Unresolved()
    • Method Detail

      • values

        public static MemberSubstitution.Replacement.Binding.Unresolved[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MemberSubstitution.Replacement.Binding.Unresolved c : MemberSubstitution.Replacement.Binding.Unresolved.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MemberSubstitution.Replacement.Binding.Unresolved valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • make

        public StackManipulation make​(TypeList.Generic parameters,
                                      TypeDescription.Generic result,
                                      int freeOffset)
        Creates a stack manipulation that represents the substitution. This method can only be called for actually bound bindings.
        Specified by:
        make in interface MemberSubstitution.Replacement.Binding
        Parameters:
        parameters - The parameters that are accessible to the substitution target.
        result - The result that is expected from the substitution target or void if none is expected.
        freeOffset - The first offset that can be used for storing local variables.
        Returns:
        A stack manipulation that represents the replacement.