Class Identifier


  • public class Identifier
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Identifier()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String quoteIfNeeded​(java.lang.String ident)
      Quote an identifier if its required.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Identifier

        public Identifier()
    • Method Detail

      • quoteIfNeeded

        public static java.lang.String quoteIfNeeded​(java.lang.String ident)
        Quote an identifier if its required. Attempts to do so creating no garbage when not needing a quote.
        Parameters:
        ident - Identifier to quote, if necessary
        Returns:
        Quoted version of ident