Class UnresolvedSymbolDescription

  • All Implemented Interfaces:
    Serializable

    public class UnresolvedSymbolDescription
    extends Object
    implements Serializable
    This helper object describes an unresolved symbol found during query resolution.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnresolvedSymbolDescription

        public UnresolvedSymbolDescription​(String symbol,
                                           String description)
        Construct a description given the symbol and it's description.
        Parameters:
        symbol - Unresolved symbol
        description - Description of error
      • UnresolvedSymbolDescription

        public UnresolvedSymbolDescription​(ElementSymbol symbol,
                                           String description)
    • Method Detail

      • getSymbol

        public String getSymbol()
        Get the symbol that was unresolved
        Returns:
        Unresolved symbol
      • getDescription

        public String getDescription()
        Get the description of the problem
        Returns:
        Problem description
      • toString

        public String toString()
        Get string representation of the unresolved symbol description
        Overrides:
        toString in class Object
        Returns:
        String representation