Class FunctionParameter


  • public class FunctionParameter
    extends Object
    Represents a function parameter with a name and a Type
    • Constructor Detail

      • FunctionParameter

        public FunctionParameter​(String name,
                                 MetadataType type,
                                 boolean optional)
    • Method Detail

      • getName

        public String getName()
        Returns the name of the parameter
        Returns:
        The name
      • getType

        public MetadataType getType()
        Returns the type of the parameter
        Returns:
        The type of the parameter
      • isOptional

        public boolean isOptional()
        Returns optionality of the parameter
        Returns:
        Optionality of the parameter
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object