Class AbstractOptimizer

    • Field Detail

      • collection

        protected boolean collection
      • nullSafe

        protected boolean nullSafe
      • currType

        protected java.lang.Class currType
      • staticAccess

        protected boolean staticAccess
      • tkStart

        protected int tkStart
    • Constructor Detail

      • AbstractOptimizer

        protected AbstractOptimizer()
      • AbstractOptimizer

        protected AbstractOptimizer​(ParserContext pCtx)
    • Method Detail

      • tryStaticAccess

        protected java.lang.Object tryStaticAccess()
        Try static access of the property, and return an instance of the Field, Method of Class if successful.
        Returns:
        - Field, Method or Class instance.
      • nextSubToken

        protected int nextSubToken()
      • capture

        protected java.lang.String capture()
      • whiteSpaceSkip

        protected void whiteSpaceSkip()
        Skip to the next non-whitespace position.
      • scanTo

        protected boolean scanTo​(char c)
        Parameters:
        c - - character to scan to.
        Returns:
        - returns true is end of statement is hit, false if the scan scar is countered.
      • findLastUnion

        protected int findLastUnion()