code: @Override
      public <Y> Path<Y> get(String paramString)
      {
          Attribute attribute = null;
          if (this.attribute != null
                  && this.attribute.getPersistentAttributeType().equals(PersistentAttributeType.EMBEDDED))
          {
              try
              {
                  DefaultEmbeddableType embeddableType = (DefaultEmbeddableType) ((DefaultSingularAttribute) this.attribute)
                          .getType();
                  attribute = embeddableType.getAttribute(paramString);
              }
              catch (IllegalArgumentException iaex)
              {
                  // do nothing. ignore
              }
          }
  
          attribute = attribute == null ? this.managedType.getAttribute(paramString) : attribute;
  
          // TODO:: need to check for illegalStateException.
  
          return cache.get(attribute, this.entityType, this.attribute);
      }
docs: /*
  (non-Javadoc)
  
  @see javax.persistence.criteria.Path#get(java.lang.String)