docs: public static boolean isInvalidLocalVariableDeclaration(TokenStream ts) {
          int index = 2;
          Token token;
          int tokenType;
          int tokenType2 = ts.LT(index).getType();
          int tokenType3;
  
          if (DOT == tokenType2) {
              int tokeTypeN = tokenType2;
  
              do {
                  index = index + 2;
                  tokeTypeN = ts.LT(index).getType();
              } while (DOT == tokeTypeN);
  
              if (LT == tokeTypeN || LBRACK == tokeTypeN) {
                  return false;
              }
  
              index = index - 1;
              tokenType2 = ts.LT(index + 1).getType();
          } else {
              index = 1;
          }
  
          token = ts.LT(index);
          tokenType = token.getType();
          tokenType3 = ts.LT(index + 2).getType();
  
          return // VOID == tokenType ||
                  !(BuiltInPrimitiveType == tokenType || MODIFIER_SET.contains(tokenType))
                          && Character.isLowerCase(token.getText().codePointAt(0))
                          && !(ASSIGN == tokenType3 || (LT == tokenType2 || LBRACK == tokenType2));
  
      }