public Expression expression() {
    if (state.current() != null) {
      return state.current();
    }

    return state.partial();
  }
Singleton which stores class metadata for faster lookups
criteria/common/src/org/immutables/criteria/matcher/CriteriaContext.java