ShorthandProjection implements Projection { @Override public String getExpression() { return Strings.isNullOrEmpty(owner) ? "*" : owner + ".*"; }  @Override String getExpression(); @Override Optional<String> getAlias(); @Override String getColumnLabel(); Optional<String> getOwner();  }
@Test public void assertGetExpression() { assertThat(new ShorthandProjection("owner", Collections.emptyList()).getExpression(), is("owner.*")); }