Class LiteralUtils


  • public class LiteralUtils
    extends Object
    • Method Detail

      • isEmptyString

        public static boolean isEmptyString​(Tree tree)
      • is0xff

        public static boolean is0xff​(ExpressionTree expression)
      • trimQuotes

        public static String trimQuotes​(String value)
      • isTextBlock

        public static boolean isTextBlock​(String value)
      • trimLongSuffix

        public static String trimLongSuffix​(String longString)
      • hasValue

        public static boolean hasValue​(Tree tree,
                                       String expectedValue)
      • isTrue

        public static boolean isTrue​(Tree tree)
      • isFalse

        public static boolean isFalse​(Tree tree)
      • indentationOfTextBlock

        public static int indentationOfTextBlock​(String[] lines)