public static ParsedAccessExpression parse()

in src/main/java/org/apache/accumulo/access/AccessExpression.java [189:198]


  public static ParsedAccessExpression parse(String expression)
      throws InvalidAccessExpressionException {
    if (expression.isEmpty()) {
      return ParsedAccessExpressionImpl.EMPTY;
    }
    // Calling expression.getBytes(UTF8) will create a byte array that only this code has access to,
    // so not need to copy that byte array. That is why parse(byte[]) is not called here because
    // that would copy the array again.
    return ParsedAccessExpressionImpl.parseExpression(expression.getBytes(UTF_8));
  }